Flexible TreeView 5.1.9 Help
ContentAlign Property (StaticTextControl)



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
 
Public Overrides Property ContentAlign As ContentAlignment
'Usage
 
Dim instance As StaticTextControl
Dim value As ContentAlignment
 
instance.ContentAlign = value
 
value = instance.ContentAlign
public override ContentAlignment ContentAlign {get; set;}
public:
property ContentAlignment ContentAlign {
   ContentAlignment get() override;
   void set (    ContentAlignment value) override;
}

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

StaticTextControl Class
StaticTextControl Members
Base Implementation in ContentAlign
FillFreeSpace Property

Send Feedback