Click here to Skip to main content
15,890,512 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
My problem is that Collections on second level do not render members of inner (nested) classes.

Second level means inside Collections Add/Remove editor (CollectionEditorPicker).

I'd expect that in the figure 2. would be shown all inner members of the class 'powerVoltageDefinition', just like we see it in the figure 1.

What is the trick ? How can I display such inner classes in this default Collection Add/Remove Editor (the so called 'CollectionEditorPicker')?

Figure 1 - Correctly rendered nested class members
https://i.stack.imgur.com/dWgo1.jpg

Figure 2 - Not rendered nested class members
https://i.stack.imgur.com/vwf3v.jpg

XAML snippet of this RadPropertyGrid:
<telerik:RadPropertyGrid x:Name="SelectedProperty" 

    AutoGenerateBindingPaths="True"
    AutoGeneratePropertyDefinitions ="True" 
    AutoGeneratingPropertyDefinition="RadPropertyGrid_AutoGeneratingPropertyDefinition"
    CanUserResizeDescriptionPanel="True"
    NestedPropertiesVisibility="Visible"
    DescriptionPanelVisibility="Visible"
        SearchInNestedProperties="True"                                                                                                      
        PropertySetMode="Union"                                                                                                  
        RenderMode="Hierarchical"
        EditMode="Default"
        EditEnded="CellEditEnded"
        ToolTip="ToDo: Tool Tips">

</telerik:RadPropertyGrid>


What I have tried:

I have already investigated:

1. This does not describe problem:
wpf - Telerik RadPropertyGrid Content of CollectionEditorPicker - Stack Overflow[^]

2. And this solution does not cover my nested class powerVoltageDefinition:
Access to CollectionEditorPicker inner property grid - PropertyGrid - UI for WPF Forum[^]

Does my solution lead to any of these ?:

1.
PropertyGridIndentPresenter Class[^]

2.
PropertyGridIndentPresenter.IndentLevelProperty Field[^]
Posted
Updated 15-Apr-19 4:36am

1 solution

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900