Skip to main content
.NET 8.0+

IModelViewController Members

The ViewController node represents a View Controller’s settings and provides access to Actions that belong to this Controller.

Properties

Name Description
Actions Specifies Actions declared in the current Controller. Inherited from IModelController.
Application Provides access to the Application Model‘s root node. Inherited from IModelNode.
BaseController Specifies the Controller from which the current Controller is inherited. Inherited from IModelController.
Index Specifies the order index by which nodes are arranged. Inherited from IModelNode.
Name Indicates the Controller type name. Inherited from IModelController.
NodeCount Gets the number of child nodes. Inherited from IModelNode.
Parent Provides access to the parent node. Inherited from IModelNode.
Root For internal use only. Inherited from IModelNode.
TargetObjectType Indicates the type of objects for which the Controller is activated.
TargetViewId Gets 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 Indicates the type of View for which the Controller is activated.
TargetViewType Indicates the type of View for which the Controller is activated.

Methods

Name Description
AddNode<NodeType>() Adds a new child node of a specific type. Inherited from IModelNode.
AddNode<NodeType>(String) Adds a new child node of a specific type with a specific identifier. Inherited from IModelNode.
ClearValue(String) Resets the node’s property value to the value specified in the previous Application Model layer. Inherited from IModelNode.
GetNode(Int32) Gets the child node with a specific index. Inherited from IModelNode.
GetNode(String) Gets the child node with a specific identifier. Inherited from IModelNode.
GetValue<ValueType>(String) Returns the value of the node’s specified property. Inherited from IModelNode.
HasValue(String) Indicates whether the node’s property has a value assigned. Inherited from IModelNode.
Remove() Removes the current node. Inherited from IModelNode.
SetValue<ValueType>(String, ValueType) Changes the value of the node’s specified property. Inherited from IModelNode.
See Also