Quantcast
Channel: wpftoolkit Discussions Rss Feed
Viewing all articles
Browse latest Browse all 2157

New Post: PropertyGrid map each item in a collection to individual properties

$
0
0
Hi,

If I understand correctly, you have a collection of columns and you want to display each column as an expandable PropertyItem in the PropertyGrid. So expanding a propertyItem would show the Column's properties. For example : https://postimg.org/image/4bi2vgcnt/

Currently, if your PropertyGrid.SelectedObject is an ObservableCollection<Column>, the PropertyGrid will show you the Properties of the Collection, so the "Count".

But since v3.1, the >Plus> version of the Toolkit offers a new property on the PropertyGrid to do what you want (as suggested in the link image). You simply need to set the PropertyGrid.IsExpandingNonPrimitiveTypes to "True". It will set each item of the collection as an expandable propertyItem.

――――
Get more controls, features, updates and technical support with Xceed Toolkit Plus for WPF

Viewing all articles
Browse latest Browse all 2157

Latest Images

Trending Articles



Latest Images

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