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+

ViewController Members

Constructors

Name Description
ViewController()

Creates an instance of the ViewController class.

Fields

Name Description
ControllerActiveKey static

Specifies one of the keys from the ActionBase.Active collection of a Controller's Controller.Actions. By default, this field value is "Controller active". You can use this field when working with the ActionBase.Active collection.

(Inherited from Controller)
ViewIsAssignedReason

Specifies the Controller.Active list's reason that indicates whether a View is assigned to the current ViewController.

Properties

Name Description
Actions

Provides access to a Controller's Action collection.

(Inherited from Controller)
Active

Provides access to a collection of reason/value pairs used to activate or deactivate a Controller, or determine its active state.

(Inherited from Controller)
Application

Provides access to an XafApplication object that can be used to manage the current application.

(Inherited from Controller)
Frame

Provides access to a Controller's Frame.

(Inherited from Controller)
Name

Returns a full name of a Controller's type.

(Inherited from Controller)
Tag

Provides access to the object that contains data about the Controller.

(Inherited from Controller)
TargetObjectType

Specifies a ViewController's target object type. The View Controller is activated only for Views that represent this type.

TargetViewId

Specifies the identifier of the View for which the View Controller is activated, or a semicolon-separated list of identifiers if a View Controller targets multiple Views.

TargetViewNesting

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

TargetViewType

Specifies the type of the View, for which a View Controller is intended.

TypeOfView

Specifies the type of the View, for which a View Controller is intended.

View

Provides access to a View Controller's View.

Methods

Name Description
Clone(IModelApplication)

Clones a Controller.

(Inherited from Controller)
Create(Type) static

Instantiates a Controller object of the specified type and raises it's Controller.AfterConstruction event.

(Inherited from Controller)
CustomizeTypesInfo(ITypesInfo)

Customizes business class metadata before loading it to the Application Model's BOModel node.

(Inherited from Controller)
SetView(View)

Sets a specified View for a View Controller.

Events

Name Description
Activated

Occurs when a Controller is activated.

(Inherited from Controller)
AfterConstruction

Occurs after a Controller is created.

(Inherited from Controller)
Deactivated

Occurs after a Controller has been deactivated.

(Inherited from Controller)
FrameAssigned

Occurs after a Frame (Window) has been assigned to a Controller.

(Inherited from Controller)
ViewControlsCreated

Occurs after the controls have been created for the current Controller's ViewController.View if the Controller has already been activated.

ViewControlsDestroying

For internal use only.

See Also