This project has moved and is read-only. For the latest updates, please go here.

How to specify Propertygrid with ItemsSource and Editor

Jul 17, 2012 at 9:10 AM
Edited Jul 17, 2012 at 9:10 AM

Hi,

 

is it possible to make a custom property with custom editor and ItemsSource? I would like to do something like this

 

private IEnumerable<Object> _taKaProvOfUser;
	[Category("Places")]
	[DisplayName("Selected Places")
[Editor(typeof(PlacesEditor), typeof(PlacesEditor))] [ItemsSource(typeof(PlacesItemsSource))] public IEnumerable<Object> TaKaProvOfUser { get { return _taKaProvOfUser; } set { _taKaProvOfUser = value; OnPropertyChanged("BukrsOfUser"); } }

where PlacesEditor is a CheckCombox ...