Hello,
How can all PropertyDefinition groups Collapse/Expand by XAML code or MVVM pattern ? I've tried IsExpanded property set to False but not work.
How can all PropertyDefinition groups Collapse/Expand by XAML code or MVVM pattern ? I've tried IsExpanded property set to False but not work.
<telerik:RadPropertyGrid x:Name="propertyGrid1" AutoGenerateBindingPaths="False" Grid.Column="2" Item="{Binding}" LabelColumnWidth="180" AutoGeneratePropertyDefinitions="False" IsGrouped="True"> <telerik:RadPropertyGrid.PropertyDefinitions> <telerik:PropertyDefinition Binding="{Binding bind}" OrderIndex="0" IsExpanded="False" GroupName="Group1" DisplayName="Enable"/> <telerik:PropertyDefinition GroupName="Group1" OrderIndex="1" DisplayName="DisplayName1"/> <telerik:PropertyDefinition GroupName="Group2" OrderIndex="2" DisplayName="DisplayName2"/> <telerik:PropertyDefinition GroupName="Group3" OrderIndex="3" DisplayName="DisplayName3" /> </telerik:RadPropertyGrid.PropertyDefinitions></telerik:RadPropertyGrid>