Skip to main content
.NET 8.0+

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

MethodActionSelectionDependencyType Enum

Specifies the availability context for an Action which will be generated via the ActionAttribute.

Namespace: DevExpress.Persistent.Base

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

#Declaration

public enum MethodActionSelectionDependencyType

#Members

Name Description
RequireSingleObject

Specifies that the Action is enabled when a single object is selected in the current View. Set the ActionAttribute.Category property to “RecordEdit”, to display the Action in an additional cell for each object in the ASP.NET Web Forms application’s List Views.

RequireMultipleObjects

Specifies that the Action is enabled when one or more objects are selected in the current View.

#Related API Members

The following properties accept/return MethodActionSelectionDependencyType values:

#Remarks

These enumeration values are used to set the ActionAttribute.SelectionDependencyType property.

See Also