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

Commented 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: RichardSell **

This is exactly the same behaviour that I am trying to achieve. Please see [issue](https://wpftoolkit.codeplex.com/workitem/20070) with item number 20070. Has this functionality been implemented in the new release?


Viewing all articles
Browse latest Browse all 4964

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>