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

ViewController.TargetViewNesting Property

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

Namespace: DevExpress.ExpressApp

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

View Controllers are activated for both Windows and Frames. However, you can specify the View kind to provide a View Controller activation within the Window or Frame via the TargetViewNesting property.

Note

The TargetViewNesting property affects only ViewController's activation. Controller.FrameAssigned and other events that are irrelevant to the view nesting always fire.

See Also