New to Telerik UI for WPF? Start a free 30-day trial
Set Properties on the RadPropertyGrid inside the CollectionEditor
Updated on Sep 24, 2025
Environment
| Product Version | 2018.2.620 |
| Product | RadPropertyGrid for WPF |
Description
How to set properties on the RadPropertyGrid inside the CollectionEditor.
Solution
-
Handle the Loaded event of the parent RadRropertyGrid.
C#private void RadPropertyGrid_Loaded(object sender, RoutedEventArgs e) { var editorPicker = rpg.ChildrenOfType<CollectionEditorPicker>().First(); var collectionEditor = editorPicker.CollectionEditor; collectionEditor.Loaded += CollectionEditor_Loaded; } -
Handle the Loaded event of the CollectionEditor.
C#private void CollectionEditor_Loaded(object sender, RoutedEventArgs e) { var collectionEditor = sender as CollectionEditor; var propertyGrid = collectionEditor.ChildrenOfType<RadPropertyGrid>().First(); propertyGrid.LabelColumnWidth = new GridLength(50); // set any other properties }