Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
34 views

In my Avalonia app using the MVVM Community Toolkit, I need to dynamically create a ComboBox from code-behind, having it data-bound to a collection of a subclass of a class that encapsulates ...
Eric Eggers's user avatar
0 votes
1 answer
99 views

I created a simple program to replicate the issue. I've created a custom control holding one generic string dependency property: using System.Windows; using System.Windows.Controls; namespace Test { ...
Mark Johnson's user avatar
1 vote
1 answer
124 views

I am working on a configuration editor and I was having issues binding ObservableCollection to combobox items in XAML. My setup: I am using Prism I am also using MaterialDesignThemes in the project ...
NeoGenesis521's user avatar
0 votes
1 answer
103 views

What are you trying to do? I'm building an attendance summary grid in VB.NET (Windows Forms). For each employee, I want to insert a label row before their daily attendance rows. This label row should ...
Ajit Karode's user avatar
2 votes
1 answer
77 views

I have the below code: <ToggleButton x:Name="toggleBtn" Content="Open Popup" /> <Popup x:Name="pp" Placement="Bottom" StaysOpen="...
MinhSu - Justin's user avatar
2 votes
3 answers
112 views

I'm trying to put together an app, but I've run into problems trying to get data into an IDrawable graph display. The app is just supposed to show a plot of random data from a float[] which is then ...
aardvark2012's user avatar
0 votes
1 answer
127 views

I have a main Window that opens a second Window. In this second Window I have many custom UserControls generated in runtime that work just fine. But a group of custom UserControls are declared in the ...
Fran's user avatar
  • 19
0 votes
0 answers
45 views

The md-table is bind to data assets where application_id is an integer. The dropdown is populated with possible values with: Value = application_id, Label = application_name The table is editable ...
user3033959's user avatar
0 votes
1 answer
162 views

I am using Avalonia with CommunityToolkit MVVM. When I change the Property (integer) within the original VM, where it is defined, it does update the view. When I change the Property from a child class,...
Martin's user avatar
  • 1
0 votes
2 answers
73 views

I know about DynamicResource and it works well. But in my program I have a TreeView and several DataTemplates (for categories and for items). And the element has its own name key(of resource). So ...
Yurii Kryvoruchko's user avatar
1 vote
0 answers
30 views

I'm using Blazor Server and have this page directive: @page "/login" My form model binds correctly here. But when I change it to: @page "/System/Authentication/login" the model ...
Mohammadreza Rahbari's user avatar
0 votes
2 answers
107 views

I'm working on a route visualization tool using Leaflet.js to map Amtrak train routes. I'm loading station coordinates from a JSON array and creating markers with custom tooltips showing station names,...
Hassan Farooq's user avatar
1 vote
2 answers
112 views

I am trying to create a simple CollectionView in Maui programmatically. The ItemSource is just a list of int. var intValues = new List<int>() { 1, 2, 3, 4, 5, 6 }; var pointsCV = new ...
A. Westmeier's user avatar
-1 votes
1 answer
71 views

I have a component Parent with the ViewModel ParentViewModel, which contains public ObservableCollection<string> FileNames { get; set; } = new(); I want to pass the current element of this ...
mre's user avatar
  • 139
0 votes
1 answer
97 views

I want to create a custom control that will act as a draggable control (drag and drop), and use it in a window. my problem is that I cant get the binding to work. Data context is being set in window....
bamec's user avatar
  • 53
0 votes
1 answer
50 views

I'm working on my version of an auto complete component in a Blazor WASM (Standalone) app targeting .NET 9. I'm able to bind an input to a string variable and take action as user types in his/her ...
Sam's user avatar
  • 31k
0 votes
1 answer
67 views

I have trouble with the binding of radio buttons in Blazor. I created a blazor fiddle. Please test the following: Open the fiddle. Click some radio buttons and see that the text input is updated ...
Flippowitsch's user avatar
0 votes
0 answers
45 views

We are using Castor-xml-1.3.2 version in our project and in near future we would be migrating to Jakarta specs. from Java EE specs. We would like to know if any plans to support Jakarta specs in ...
Dinesh Khandelwal's user avatar
0 votes
0 answers
65 views

I am trying to bind 2 textboxes to a class with Email and Password properties. I using INotifyPropertyChanged on the class. I set the values of the class in my form load event to test that the ...
Eparr12's user avatar
1 vote
1 answer
94 views

This has been marked as a duplicate of this question, which solves a different problem and does not mention anywhere how to solve the Binding problems I had. They were trying to bind ToolTip to ...
Snidex's user avatar
  • 11
0 votes
1 answer
109 views

I have a WinForms form that defines a BindingList<Item>. And this list is assigned to the DataSource property of a ListBox. This works pretty well. Any changes made to the list are also ...
Jonathan Wood's user avatar
0 votes
2 answers
473 views

I have been at this for several days. Please show me my dumb error. I have even dumbed down my code to just about match the example in this article with no luck. (https://learn.microsoft.com/en-us/...
L3prichaun13's user avatar
0 votes
1 answer
55 views

I have a problem where if I databind the visibility of my usercontrol inside the definition of my <Usercontrol> I get an error. However, if I copy/paste the exact same binding definition into ...
SINtuition's user avatar
0 votes
1 answer
73 views

In my WPF project, I have a ListView's data binding set to an ObservableCollection of my model DashboardSample as follows: public ObservableCollection<DashboardSample> SampleOutput { get; set; } ...
Noah's user avatar
  • 9
0 votes
0 answers
32 views

I'm defining a DataGrid in my xaml, where each row represents a book, and each column a field associated to this book (similarly to a SQL table). I want the cell to appear a with a yellow background ...
Brainless's user avatar
  • 1,778

1
2 3 4 5
479