ActionAttribute.SelectionDependencyType Property
Specifies a context for enabling the generated Action.
Namespace: DevExpress.Persistent.Base
Assembly: DevExpress.ExpressApp.v24.1.dll
NuGet Package: DevExpress.ExpressApp
#Declaration
public MethodActionSelectionDependencyType SelectionDependencyType { get; set; }
#Property Value
Type | Description |
---|---|
Method |
A Method |
Available values:
Name | Description |
---|---|
Require |
Specifies that the Action is enabled when a single object is selected in the current View. Set the Action |
Require |
Specifies that the Action is enabled when one or more objects are selected in the current View. |
#Remarks
Use this property to specify the availability context for the Action which will be generated from the Action attribute’s target method. By default, this property is set to MethodActionSelectionDependencyType.RequireMultipleObjects.