Skip to main content
0 votes
1 answer
93 views

How can I resolve issue about BindingExpression in WPF c#?

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
1 vote
1 answer
63 views

Why in a WinUI3 app, does DataContext binding work when debugging but causes exception when deployed and run [closed]

I have a WinUI3 app that I am trying to use in an MVVM pattern. I have a ViewModel that implements INotifyPropertyChanged. In that ViewModel I have a simple string property (TextBoxContent) that calls ...
Intensivist's user avatar
  • 1,055
0 votes
1 answer
78 views

VB.NET DataGridView not showing label row with EmpId and EmpName before attendance rows

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
0 votes
1 answer
101 views

How do I create dynamic rows in a WPF Grid [closed]

I have a WPF app that loads a grid table through a db query. This works as expected. I want to add a tile layout, something like this. This image represents one row. The two different views are a ...
USMC6072's user avatar
  • 790
2 votes
1 answer
71 views

How to prevent popup reopen

I have the below code: <ToggleButton x:Name="toggleBtn" Content="Open Popup" /> <Popup x:Name="pp" Placement="Bottom" StaysOpen="...
MinhSu - Justin's user avatar
1 vote
1 answer
90 views

How to add list of MenuItem controls using MVVM binding?

I'm trying to render an MRU files menu item list using MVVM and data binding. However, I'm not able to … assign an access key assign a mnemonic assign a command This is the code I'm using: <...
AxD's user avatar
  • 3,262
0 votes
0 answers
60 views

User control dependency property as static resource

In my AvaloniaUI app I have a user control with a Boolean dependency property: public partial class MyUC: UserControl { public readonly static StyledProperty<bool> IsSpecialProperty = ...
Eric Eggers's user avatar
2 votes
3 answers
97 views

Trouble binding data to an IDrawable

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
0 answers
16 views

Setting the WPF ComboBoxItem Background Color when an ObjectDataProvider binding is used to populate ComboBox

I have a ComboBox with an ObjectDataProvider binding to an enum of colors. I have the enum descriptions displaying. I would like to have the ComboBoxItem background color match the designated color. I'...
Unanamous's user avatar
0 votes
1 answer
122 views

User Control with binding showing in Designer but not in runtime

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
1 vote
1 answer
127 views

How to bind List item inside DataTemplate

I have a ListView that I fill with a list of items of type FooBar, which contains only one public member Foo of string. I have my own UserControl called FooBarControl, which has a member FooBar from ...
The Red Fox's user avatar
0 votes
0 answers
42 views

Angular - how to display the selected's label of dropdown on the md-table when data is bind

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
0 answers
28 views

How to handle a generic type param being changed when pattern matching is required for the child fragments that do the editing

I have the following Blazor component: @using System.Linq.Expressions @typeparam T @switch(Value) { case bool boolValue: <InputCheckbox @bind-Value=boolValue @bind-Value:after=...
John Askew's user avatar
0 votes
1 answer
151 views

Property not updating view when getting changed from another VM

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
0 answers
36 views

See Changes on Models Properties in View to View Data Binding Using .NET MAUI

I have two .NET MAUI Content Views binding a model from parent view named IdentifyCntrl to child View named ChildControl. I'm binding a model named IdentHeightModel from ParentControl to ChildControl. ...
Karen's user avatar
  • 13

15 30 50 per page
1
2 3 4 5
1597