Posted in WPF, tagged WPF, ListView, ContextMenu on March 18, 2008 | No Comments »
When we want to display a ContextMenu based on the ListViewItem(Row) that was clicked, we have to handle ContextMenuOpening event and add our menuitems in that event. Attached sample shows how to do this.(change .doc to .zip)
Read Full Post »
Posted in WPF, tagged ComboBox, WPF on March 1, 2008 | No Comments »
Here is a sample to display multiple columns which are resizable, like in gridview in the panel of the combobox
Attached is a sample(change .doc to .zip)
comboboxsample1.doc
Read Full Post »
Posted in WPF, tagged ComboBox, WPF on February 28, 2008 | 3 Comments »
if we want to change the text that is displayed when user selects an item in the combobox, we have to change the ContentTemplate of the ContentPresenter in the Combobox Template
Attached is a sample(change .doc to .zip), which allows you to specify the template to be applied in the Tag property
comboboxsample2.doc
(update: added a thumb to [...]
Read Full Post »