Back to Devexpress

CollectionButtonClickEventArgs.DefaultAction Property

wpf-devexpress-dot-xpf-dot-propertygrid-dot-collectionbuttonclickeventargs.md

latest1.8 KB
Original Source

CollectionButtonClickEventArgs.DefaultAction Property

Gets the collection button‘s default action.

Namespace : DevExpress.Xpf.PropertyGrid

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

NuGet Package : DevExpress.Wpf.PropertyGrid

Declaration

csharp
public Action<object> DefaultAction { get; }
vb
Public ReadOnly Property DefaultAction As Action(Of Object)

Property Value

TypeDescription
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

CollectionButtonClickEventArgs Class

CollectionButtonClickEventArgs Members

DevExpress.Xpf.PropertyGrid Namespace