Skip to main content
.NET 6.0+

IModelOptions Members

The Options node allows editing different UI settings.

Properties

Name Description
Application Provides access to the Application Model‘s root node. Inherited from IModelNode.
DataAccessMode Specifies the default mode used to access the collection of business objects in List Views when the IModelListView.DataAccessMode property is not initialized.
Index Specifies the order index by which nodes are arranged. Inherited from IModelNode.
LayoutManagerOptions Provides access to the LayoutManagerOptions node.
LookupSmallCollectionItemCount Used by reference properties that are displayed by a Look-up Property Editor in Auto mode. For more information, see IModelCommonMemberViewItem.LookupEditorMode. If the element count in the Look-up Property Editor’s data source collection is greater than this property value, XAF does not load them and enables the Search feature.
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.
UseServerMode For internal use. Use the IModelOptions.DataAccessMode property instead.

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