Click here to Skip to main content
15,913,685 members
Home / Discussions / WPF
   

WPF

 
AnswerRe: how do I match my string to one of the comboBox items Pin
Abhinav S9-Mar-11 18:26
Abhinav S9-Mar-11 18:26 
QuestionCan you bind by property name? Pin
SledgeHammer018-Mar-11 19:55
SledgeHammer018-Mar-11 19:55 
AnswerRe: Can you bind by property name? Pin
Pete O'Hanlon8-Mar-11 21:32
mvePete O'Hanlon8-Mar-11 21:32 
GeneralRe: Can you bind by property name? Pin
SledgeHammer019-Mar-11 6:26
SledgeHammer019-Mar-11 6:26 
GeneralRe: Can you bind by property name? Pin
Pete O'Hanlon9-Mar-11 7:07
mvePete O'Hanlon9-Mar-11 7:07 
GeneralRe: Can you bind by property name? Pin
SledgeHammer019-Mar-11 7:44
SledgeHammer019-Mar-11 7:44 
GeneralRe: Can you bind by property name? Pin
Pete O'Hanlon9-Mar-11 9:11
mvePete O'Hanlon9-Mar-11 9:11 
GeneralRe: Can you bind by property name? Pin
SledgeHammer019-Mar-11 10:08
SledgeHammer019-Mar-11 10:08 
My "ListViewEx" adds back all the missing functionality in the stock ListView (built in sorting w/ native OS look & feel, filtering, real OS style multi-select w/ translucent rectangle, keyboard interface, etc). I'm trying to structure my public interface so that it looks like a "factory install" and will work with MVVM and is completely generic and independent of anything. The particular feature I was adding was item image support. Following the model already in place in WPF, I made it similiar to DisplayMemberPath where you give the name of the property that will provide the ImageSource. The property I added was added to "GridViewEx" since that is where it belongs. The Image control itself however is in the ListViewItem data template.

I don't know how closely you've worked with ListView internals, but its quite an annoying control. It has lots of levels of objects and lots of templates. The column headers are actually split into 2 separate classes, etc.!

There are plenty of valid reasons you need to subclass a WPF item. Sometimes part of the template or behavior you need to modify belongs to the item.

For example, try adding back the node lines in a TreeView without subclassing the TreeViewItem Wink | ;) .
GeneralRe: Can you bind by property name? Pin
Pete O'Hanlon9-Mar-11 21:54
mvePete O'Hanlon9-Mar-11 21:54 
QuestionHow to update the datagrid in wpf based on text changed property of text box control in MVVM mdel? Pin
SRKSHOME8-Mar-11 6:47
SRKSHOME8-Mar-11 6:47 
AnswerRe: How to update the datagrid in wpf based on text changed property of text box control in MVVM mdel? Pin
Jammer8-Mar-11 7:26
Jammer8-Mar-11 7:26 
AnswerRe: How to update the datagrid in wpf based on text changed property of text box control in MVVM mdel? Pin
Pete O'Hanlon8-Mar-11 9:07
mvePete O'Hanlon8-Mar-11 9:07 
QuestionResize controls in canvas Pin
manoj221847-Mar-11 1:20
manoj221847-Mar-11 1:20 
AnswerRe: Resize controls in canvas Pin
Abhinav S7-Mar-11 2:07
Abhinav S7-Mar-11 2:07 
AnswerRe: Resize controls in canvas Pin
RobCroll7-Mar-11 15:37
RobCroll7-Mar-11 15:37 
QuestionAutoCompleteBox Pin
Moonwalker0315-Mar-11 5:35
Moonwalker0315-Mar-11 5:35 
AnswerRe: AutoCompleteBox Pin
Pete O'Hanlon5-Mar-11 6:54
mvePete O'Hanlon5-Mar-11 6:54 
GeneralRe: AutoCompleteBox Pin
Moonwalker0315-Mar-11 8:35
Moonwalker0315-Mar-11 8:35 
GeneralRe: AutoCompleteBox Pin
Pete O'Hanlon5-Mar-11 9:40
mvePete O'Hanlon5-Mar-11 9:40 
GeneralRe: AutoCompleteBox Pin
Moonwalker0315-Mar-11 10:59
Moonwalker0315-Mar-11 10:59 
GeneralRe: AutoCompleteBox Pin
Pete O'Hanlon5-Mar-11 11:27
mvePete O'Hanlon5-Mar-11 11:27 
GeneralRe: AutoCompleteBox Pin
Moonwalker0315-Mar-11 13:47
Moonwalker0315-Mar-11 13:47 
GeneralRe: AutoCompleteBox Pin
SledgeHammer015-Mar-11 15:42
SledgeHammer015-Mar-11 15:42 
GeneralRe: AutoCompleteBox Pin
Moonwalker0315-Mar-11 21:51
Moonwalker0315-Mar-11 21:51 
GeneralRe: AutoCompleteBox Pin
Moonwalker0316-Mar-11 5:19
Moonwalker0316-Mar-11 5:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.