How do I get the XAML Designer to show side-by-side?
I must have fat fingered something which turned off the XAML view. Now all I see is the Designer. I want to see them both, side-by-side in the window. How do I get that back? I'm using VS 2019 Enterprise Edition, version 16.5
Why does clicking on a datagrid cause the window to flash?
I'm working on a WPF app with a colleague at work. This app has a launch panel with 7 buttons. Clicking on any of the 7 buttons causes a new window to popup. These new windows all start with a datagrid, listing the contents of 1 of 7 tables,…
WPF: How do I bind with this behavior?
Here is an image to help clarify my question. Three TextBoxes and a TextBlock. I want the TextBlock to mirror the contents of one TextBox, but, if I mouse over another TextBox the TextBlock will mirror the Text of that TextBox instead. Mousing…
Using validation rules to disable a button
Hi, I know that in WPF, I could bind a button's IsEnabled property with some TextBox to receive the Validation.HasError result as its IsEnabled value. This does work for simple TextBox. But in my case, I have a DataGrid for user to do the input.…
Wpf white squares bug on display
When i running wpf application theres little white squares on display where position on mouse cursor. Any one know about these wieard bug
How to sort ListView by selected column?
Source thread: how to sort list view with different dataTemplate (int, bool, string, ...), answered by Alex Li-MSFT. I have a ListView control and I want to sort all the items in the list when user click on specific column header, how to achieve it? …
When ValidationStep set to UpdatedValue, the invalid red border won't go off
Hi guys. I'm using ValidationRules to do the data check on UI. When I set the ValidationStep to UpdatedValue, it works weird. When the input is incorrect, the control shows a red border as normally. However, after I changed the value correctly, the…
Async ProcessBar not working
Source thread: Async ProgressBar not working, answered by Peter Fleischer. I'm trying to set up an async read of a bunch of files with a ProgressBar, but it doesn't work. Here is my MainWindow: Class MainWindow Dim TheProgress…