.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

ActionBase.TargetViewNesting Property

Specifies whether the View, for which an Action is intended, must be root, nested or any.

Namespace: DevExpress.ExpressApp.Actions

Assembly: DevExpress.ExpressApp.v19.2.dll

Declaration

[DefaultValue(Nesting.Any)]
public Nesting TargetViewNesting { get; set; }
<DefaultValue(Nesting.Any)>
Public Property TargetViewNesting As Nesting
[DefaultValue(Nesting.Any)]
public Nesting TargetViewNesting { get; set; }
<DefaultValue(Nesting.Any)>
Public Property TargetViewNesting As Nesting
[DefaultValue(Nesting.Any)]
public Nesting TargetViewNesting { get; set; }
<DefaultValue(Nesting.Any)>
Public Property TargetViewNesting As Nesting

Property Value

Type Default Description
Nesting

Any

A Nesting enumeration value identifying a View kind.

Property Value

Type Default Description
Nesting

Any

A Nesting enumeration value identifying a View kind.

Property Value

Type Default Description
Nesting

Any

A Nesting enumeration value identifying a View kind.

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.

See Also