Flexible TreeView 5.1.9 Help
ContentAlign Property (NodeControl)



Gets or sets the node control content alignment within the occupied area. Useful when FillFreeSpace property is enabled. When the node control has many lines of text or FillFreeSpace property is enabled, changing this property may align those lines according to the node control bounds.
Syntax
'Declaration
 
<CategoryAttribute("Appearance")>
Public Overridable Property ContentAlign As ContentAlignment
'Usage
 
Dim instance As NodeControl
Dim value As ContentAlignment
 
instance.ContentAlign = value
 
value = instance.ContentAlign
[Category("Appearance")]
public virtual ContentAlignment ContentAlign {get; set;}
[Category("Appearance")]
public:
virtual property ContentAlignment ContentAlign {
   ContentAlignment get();
   void set (    ContentAlignment value);
}

Property Value

The content alignment. The default value is System.Drawing.ContentAlignment.MiddleLeft.
Remarks
When the node control has many lines of text or FillFreeSpace property is enabled, changing this property may align those lines according to the node control bounds.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

NodeControl Class
NodeControl Members
FillFreeSpace Property

Send Feedback