Skip to main content

CustomPropertyDescriptorsEventArgs.Source Property

Gets the object whose properties must be retrieved via the event.

Namespace: DevExpress.XtraVerticalGrid.Events

Assembly: DevExpress.XtraVerticalGrid.v24.1.dll

NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.VerticalGrid

Declaration

public object Source { get; }

Property Value

Type Description
Object

An object whose properties must be retrieved via the event.

Remarks

First, the PropertyGridControl.CustomPropertyDescriptors event fires to retrieve root properties for the selected object. The Source member will identify this selected object.

Then, when expanding a property that contains nested properties, the event fires again, to retrieve these nested properties. The Source member will identify the object representing the parent property.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Source property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also