Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
131 views

I have a user control made of white border, a ScrollViewer and a RichTextBox in it, which supposed to display a footnote text when the mouse is over the footnote special sign in the text. <Grid> ...
HaggayF's user avatar
  • 21
-2 votes
1 answer
149 views

I'm losing my mind over this project and honestly have no idea what else to try. I'm working on a WPF app targeting .NET 8 and I'm getting a massive number of XAML errors like: XDG0008: The name &...
skye7x's user avatar
  • 1
0 votes
2 answers
98 views

I have a custom model class that implements IList, IList<TItem>, ICollection, ICollection<TItem>, IEnumerable<TItem>, and IEnumerable, that I want to use as DataType under ...
Karl Stephen's user avatar
  • 1,160
1 vote
1 answer
70 views

I have a custom WPF ValidationRule and I want the validation range to depend on another value in the view model. I used to use this two-argument override: public override ValidationResult Validate(...
FluidMechanics Potential Flows's user avatar
0 votes
0 answers
79 views

I am trying to modify the datagrid columns so that they get build and stretch the column sizes. The code are the following: <ScrollViewer x:Name="MainSubGrid" ...
NeoGenesis521's user avatar
0 votes
2 answers
93 views

Of course I already googled that. So I added the app.manifest with the <dpiAwareness> tag to the project and referenced it in the project file. This tag is also found in the compile output ...
Tigerfink's user avatar
  • 119
1 vote
1 answer
98 views

I have a project that manipulates geometry, and although I can step through the code and see the values, it's quite hard to verify everything without looking at the geometries that are being used/...
Daniel Möller's user avatar
0 votes
1 answer
107 views

In my application I am displaying items from an observable collection and I want the user to be able to edit them. Lots of threads here discuss how to add or remove items from a collection, but I ...
kkalwa's user avatar
  • 97
0 votes
2 answers
104 views

As you can see in this example, I need to repeat the binding for each column in its trigger. Is there a way to make this generic so that I can just set the style once instead of having to copy and ...
Jonathan Allen's user avatar
0 votes
2 answers
188 views

(Edit Note): I made a mistake not pairing my question with a simpler example to focus on the DependencyProperty repeated and wordy code issue and the LabeledConainer and LabeledTextBox are really ...
lejero's user avatar
  • 27
0 votes
1 answer
110 views

I want the property UserBalance to change in the window, but the change happens in another class. This is my bankaccount.cs where I have the balance and it changes through methods like deposit and so ...
ledana gjoka's user avatar
0 votes
0 answers
53 views

I am working on an application that helps to manage Gym progress. In my app an user creates a profile and is able to create sets of exercises. I have 2 classes that are important in my question. The ...
kkalwa's user avatar
  • 97
0 votes
2 answers
134 views

My implementation of RelayCommand implements ICommand.CanExecuteChanged event: public event EventHandler CanExecuteChanged { add { CommandManager.RequerySuggested += value; } ...
Andrew Stephens's user avatar
2 votes
0 answers
136 views

I'd like to use a popup in an .NET WPF application. <Popup x:Name="MyPopup" TouchLeave="MyPopup_TouchLeave" IsOpen="True"> <Border Background="Blue"...
be_mi's user avatar
  • 629
1 vote
1 answer
89 views

Using WPF, I display golf results in a DataGrid. There are two rows per player in each DataGrid row, with 19 columns. The first row showing gross scores and the second row showing net scores. <?...
MikeP's user avatar
  • 23

15 30 50 per page
1
2 3 4 5
11330