selecteditemchanged

Preventing WPF TreeView's SelectedItemChanged event from bubbling

I have a WPF TreeView which triggers a SelectedItemChanged event. Whenever I select an item in the TreeView, the SelectedItemChanged event is triggered for the selected item and all of the selected node's ancestors in the tree. How do I prevent the SelectedItemChanged event from firing more than once? ...

Combobox and Gridview

If we select the dropdown list Item then I want to display the Item Particulars in the Gridview Please Help me ...

c#, listbox, stackOverflow exception

Hi! I inherited KryptonToolkit ListBox control to get SelectedItemChanging event. public class CPListBox : KryptonListBox { public event CancelEventHandler SelectedIndexChanging; protected virtual void OnSelectedIndexChanging(CancelEventArgs e) { SelectedIndexChanging(this, e); } protected override void OnSelectedIndexChange...

WPF distinguish between coding-SelectionChanged and the mouse-SelectionChanged.

Hi everyone! I have a machiavellian question (for me). In my WPF application I have a ListBox that has in the ItemTemplate a Combobox. When the user select a ComboBoxItem, I have to do some complex operations on the ObservableCollection that is the ItemsSource of the ListBox, then I have to show the ListBox with the changed data. The pro...