I use a checkbox PropertyDefinition which contains NestedProperties, I want to achieve the checkbox and the expand keep the same status, when the checkbox is checked the nestedProperties expand and when the checkbox is unchecked the nestedProperties unexpand the code is as follow
<telerik:PropertyDefinition
Binding="{Binding IsShowDetail}"
IsExpanded="{Binding IsShowDetail}">
<telerik:PropertyDefinition.NestedProperties>
<telerik:PropertyDefinition Binding="{Binding Path=Name,
Mode=TwoWay}"/>
<telerik:PropertyDefinition Binding="{Binding Path=Description,
Mode=TwoWay}"/>
</telerik:PropertyDefinition.NestedProperties>
</telerik:PropertyDefinition>
The "IsShowDetail " is a bool property, the "Binging "and "IsExpanded "both binding to this property
but the "IsExpanded "have no effect
what is the reason for this and how to achieve this effect?
thanks