The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

ActionBase.TargetViewType Property

Specifies the type of the View, for which an Action is intended.

Namespace: DevExpress.ExpressApp.Actions

Assembly: DevExpress.ExpressApp.v19.2.dll

Declaration

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

Property Value

Type Default Description
ViewType

Any

A ViewType enumeration value identifying a View type.

Property Value

Type Default Description
ViewType

Any

A ViewType enumeration value identifying a View type.

Property Value

Type Default Description
ViewType

Any

A ViewType enumeration value identifying a View type.

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.

See Also