ActionBase.TargetViewType Property
Namespace: DevExpress.ExpressApp.Actions
Assembly: DevExpress.ExpressApp.v24.2.dll
NuGet Package: DevExpress.ExpressApp
#Declaration
#Property Value
Type | Default | Description |
---|---|---|
View |
Any | A View |
Available values:
Name | Description |
---|---|
Any | An Action or a View Controller will be activated in Frames (Windows) with any Views. |
Detail |
An Action or a View Controller will be activated in Frames (Windows) with Detail Views. |
List |
An Action or a View Controller will be activated in Frames (Windows) with List Views. |
Dashboard |
An Action or a View Controller will be activated in Frames (Windows) with Dashboard Views. |
#Remarks
If an Action is contained in a ViewController, you can use this property to specify the type of a View for which the Action will be activated. By default, this property is set to ViewType.Any. You can set another value in the Controller’s constructor or Designer. This value will be saved to the Application Model‘s IModelAction node.