Feed on
Posts
Comments

Posts Tagged ‘WPF’

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 »

Styling ComboBox- part 2

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 »

Styling ComboBox- part 1

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 »