Quantcast
Channel: Extended WPF Toolkit™ Community Edition
Viewing all articles
Browse latest Browse all 4964

Edited Issue: Custom ItemsSource at runtime [19208]

$
0
0
"Sometimes it is desirable to want to provide a collection of values represented by a ComboBox for a given property."

This is true, but it is also sometimes desirable to provide a custom list based on values that exist only at runtime.

It would be nice if, on top of the Attrbiute way of adding ItemsSource, you could also add a property Itemsource by saying

` PropertyGrid.PropertySources.Add("PropertyName", SourceItemCollection); `

with priority given to the PropertySources over the attribute. This would also give the ability to override the attribute in certain situations
Comments: ** Comment from web user: emartin **

Seems to be fixed in version 2.0.
Please give more feedback if v2.0 doesn't answer your need.


Viewing all articles
Browse latest Browse all 4964

Trending Articles