I have a Xamdatagrid having hierarchical data.I want to display all such records expended automatically.So that user doesn't have to click on + icon for each re
I'm using WPF C# Visual Studio 2012. I have a Listview in my xaml like: <ListView Name="listview" Grid.Column="0" Grid.ColumnSp
Can anyone point me to a solution where i can save the column sort order of a wpf-datagrid in a mvvm scenario? Most solutions i have found so far are mostly uti
On Windows 10, the ShowBalloonTip method of NotifyIcon NEVER shows the balloon tip. This would appear to have something to do with Windows itself. If I go to S
I have a ListView with a ItemSource data binding and a SelectedItem data binding. The ListView is populated with a new ItemSource every time I press the Next o
I've developed a wpf-mvvm application that uses wmi to document what is built into a given Computer into a json file. I've used the mvvm model to develop the ap
I am trying to bind a listview item to a member of a structure, but I am unable to get it to work. The structure is quite simple: public struct DeviceTypeInfo
I have been trying to learn C# but I'm coming across a lot of problems. I am trying to display an image in WPF but for some reason, the image won't show! It app
¿How can I add a breakline to a text inside a tooltip in XAML? I try with this: <Label Name="label4" UseLayoutRounding="False" Focusable="Fa
¿How can I add a breakline to a text inside a tooltip in XAML? I try with this: <Label Name="label4" UseLayoutRounding="False" Focusable="Fa
So I have almost identical thing set up with TextBoxes/ListBoxes and so on but it just doesn't seem to work with dataGrid.. So I have a view Index which contai
I am trying to draw few entities in WPF. My collection contains System.Drawing.Rectangle objects, When I try to access the location of those objects in WPF XAML
I have a UserControl which includes Datagrid. Inside Datagrid I've set EditingElementStyle with Textboxes that have ContextMenu for Copy/Paste commands. I need
I have a UserControl which includes Datagrid. Inside Datagrid I've set EditingElementStyle with Textboxes that have ContextMenu for Copy/Paste commands. I need
Part of my code-behind: object _sync = new object(); private async void OnKeyDown(object sender, KeyEventArgs e) { if (!Monitor.TryEnter(_sync)) return;
I'm trying to develop a system maintenance screen for my application in which I have several tabs each representing a different maintenance option i.e. maintain
According to this document, the following code causes a memory leak in WPF: myDataBinding = new Binding("Children.Count"); myDataBinding.Source = myGrid; myDat
I have a WPF application that I need to have users access directories in. I have searched to the end of the world on how to integrate windows
I have a FlowDocumentPageViewer control that I am populating from the code behind. I am adding text from 3-4 items. I need to know on what page item 1,2,3...
I have a multi-line TextBox with a vertical scrollbar that logs data from real-time processing. Currently, whenever a new line is added by textBox.AppendText(),