PropertyGridControl.CustomPropertyDescriptors Event

Allows you to filter properties or display custom properties.

Namespace: DevExpress.XtraVerticalGrid

Assembly: DevExpress.XtraVerticalGrid.v20.1.dll

Declaration

public event CustomPropertyDescriptorsEventHandler CustomPropertyDescriptors
Public Event CustomPropertyDescriptors As CustomPropertyDescriptorsEventHandler

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.

Remarks

The CustomPropertyDescriptors event fires when it is required to display properties at a specific level. First, it fires when root properties of the selected object(s) need to be displayed. Then, it fires every time when expanding a property that has nested properties.

Use the event's Properties parameter to specify properties. You can change this collection by modifying it or assigning a new collection.

Examples

See Also