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:
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