Skip to main content
All docs
V24.2

CollectionButtonClickEventArgs.DefaultAction Property

Gets the collection button‘s default action.

Namespace: DevExpress.Xpf.PropertyGrid

Assembly: DevExpress.Xpf.PropertyGrid.v24.2.dll

NuGet Package: DevExpress.Wpf.PropertyGrid

Declaration

public Action<object> DefaultAction { get; }

Property Value

Type Description
Action<Object>

The collection button‘s default action.

Remarks

You can pass an item to the e.DefaultAction property as a parameter to add this item to the collection when a user clicks the Add button.

Refer to the following help topic for more information: Collection Definitions.

See Also