New to Telerik UI for WPFStart a free 30-day trial

Set Properties on the RadPropertyGrid inside the CollectionEditor

Updated on Sep 24, 2025

Environment

Product Version2018.2.620
ProductRadPropertyGrid for WPF

Description

How to set properties on the RadPropertyGrid inside the CollectionEditor.

Solution

  1. 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;
    	}
  2. 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
    	}

See Also