I am creating an unBound Property Grid.
Each property will be a CheckBox.
But when i try to load or Save data to the Properties, i do not have access to them in Code-Behind.
The Checkbox does not show in Intellisense nor could i figure out how to loop through the PropertyDefinitions to get the values
How do i Set/Load Values to the CheckBox in Code Behind
Here is sample of my xaml.
<telerik:RadPropertyGrid x:Name="pgRoles" AutoGeneratePropertyDefinitions="False"
SortAndGroupButtonsVisibility="Collapsed" DescriptionPanelVisibility="Visible" LabelColumnWidth="180">
<telerik:RadPropertyGrid.PropertyDefinitions>
<telerik:PropertyDefinition DisplayName="Release Docs" GroupName="General" Description="User can Release Closing Documents">
<telerik:PropertyDefinition.EditorTemplate>
<DataTemplate>
<CheckBox x:Name="chReleaseDocs" />
</DataTemplate>
</telerik:PropertyDefinition.EditorTemplate>
</telerik:PropertyDefinition>
</telerik:RadPropertyGrid.PropertyDefinitions>
</telerik:RadPropertyGrid>
Thank you for your assistance.
Each property will be a CheckBox.
But when i try to load or Save data to the Properties, i do not have access to them in Code-Behind.
The Checkbox does not show in Intellisense nor could i figure out how to loop through the PropertyDefinitions to get the values
How do i Set/Load Values to the CheckBox in Code Behind
Here is sample of my xaml.
<telerik:RadPropertyGrid x:Name="pgRoles" AutoGeneratePropertyDefinitions="False"
SortAndGroupButtonsVisibility="Collapsed" DescriptionPanelVisibility="Visible" LabelColumnWidth="180">
<telerik:RadPropertyGrid.PropertyDefinitions>
<telerik:PropertyDefinition DisplayName="Release Docs" GroupName="General" Description="User can Release Closing Documents">
<telerik:PropertyDefinition.EditorTemplate>
<DataTemplate>
<CheckBox x:Name="chReleaseDocs" />
</DataTemplate>
</telerik:PropertyDefinition.EditorTemplate>
</telerik:PropertyDefinition>
</telerik:RadPropertyGrid.PropertyDefinitions>
</telerik:RadPropertyGrid>
Thank you for your assistance.