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

New Post: Dynamic Properties for DataGridControl

$
0
0
Hi

I have a class with dynamic Properties, to display them I implemented the ICustomTypeDescriptor Interface.
When I bind them to a PropertyGrid it works just fine and now I try to use the DataGrid to display a list of these items, but only the normal properties are displayed, not the generated list from the GetProperties function.

Does the DataGrid suppot the CustomTypeDescriptors?

I use an ObservableCollection of my ICustomTypeDescriptor implementing objects and put this into a DataGridCollectionView which I bind to the ItemsSource of the DataGridControl, maybe I do something wrong or forgot something?

The xaml looks like this:
<dg:DataGridControl ItemsSource="{Binding Path=ArticlesCV}" 
SelectionMode="Single" 
AutoCreateColumns="True" 
ItemScrollingBehavior="Deferred" 
SynchronizeSelectionWithCurrent="True"/>
regards Maik

Viewing all articles
Browse latest Browse all 4964

Latest Images

Trending Articles



Latest Images

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