ActionBase.TargetViewNesting Property
Namespace: DevExpress.ExpressApp.Actions
Assembly: DevExpress.ExpressApp.v24.2.dll
NuGet Package: DevExpress.ExpressApp
#Declaration
#Property Value
Type | Default | Description |
---|---|---|
Nesting | Any | A Nesting enumeration value identifying a View kind. |
Available values:
Name | Description |
---|---|
Any | An Action or a View Controller will be activated in Frames (Windows) with any Views. |
Root | An Action or a View Controller will be activated in Frames (Windows) which contain root Views (see View. |
Nested | An Action or a View Controller will be activated in Frames (Windows) which contain nested Views (the View. |
#Remarks
If an Action is contained in a View Controller, you can specify the kind of a View for which the Action will be activated via the TargetViewNesting property. By default, this property is set to Any. You can set another value in the Controller’s constructor or Designer. This value will be saved to the Application Model‘s ActionDesign | Actions | <Action> node.