Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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