Skip to main content
.NET Framework 4.6.2+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

IModelLabel Members

In This Article
The Label node defines a label item which displays a text on the current layout.

#Properties
Show Inherited Hide Inherited

Name Description
Application Provides access to the Application Model‘s root node. Inherited from IModelNode.
HorizontalAlign Specifies the horizontal content position within the layout item. Inherited from ISupportControlAlignment.
Id Specifies the identifier of a layout element. Inherited from IModelViewLayoutElement.
Index Specifies the order index by which nodes are arranged. Inherited from IModelNode.
MaxSize Specifies the layout item’s maximum size. Inherited from IModelLayoutItem.
MinSize Specifies the layout item’s minimum size. Inherited from IModelLayoutItem.
NodeCount Gets the number of child nodes. Inherited from IModelNode.
Parent Provides access to the parent node. Inherited from IModelNode.
RelativeSize Specifies the height (width, in the case of a horizontal direction) of the current layout element referenced to the height (width) of its group, in percentage terms. Inherited from IModelViewLayoutElement.
Root For internal use only. Inherited from IModelNode.
SizeConstraintsType Specifies the layout item’s size constraints type. Inherited from IModelLayoutItem.
VerticalAlign Specifies the vertical content position within the layout item. Inherited from ISupportControlAlignment.

#Methods
Show Inherited Hide Inherited

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