Skip to main content

PropertyGridControl.CustomPropertyDescriptors Event

Allows you to specify properties that should be displayed in the control. You can use this event to filter or sort properties, display rows that are not bound to the selected object’s properties, or display multiple objects’ properties.

Namespace: DevExpress.XtraVerticalGrid

Assembly: DevExpress.XtraVerticalGrid.v22.2.dll

NuGet Package: DevExpress.Win.VerticalGrid


public event CustomPropertyDescriptorsEventHandler CustomPropertyDescriptors

Event Data

The CustomPropertyDescriptors event's data class is CustomPropertyDescriptorsEventArgs. The following properties provide information specific to this event:

Property Description
Attributes Gets an array of the default browsable attributes used by the Property Grid Control to retrieve properties from the selected object(s).
Context Gets contextual information on a property.
Properties Gets or sets the collection of PropertyDescriptor objects that identify properties to be displayed in the control.
Source Gets the object whose properties must be retrieved via the event.


The CustomPropertyDescriptors event fires when a property is about to be displayed at the root or nested level. Use the event’s Properties parameter to specify a collection of PropertyDescriptor objects that specify properties to be displayed in the control. You can update the existing collection or assign a new one.

See the following help topics for examples:

See Also