ICreate.Controls.Bars Send comments on this topic.
TextAlignment Property
See Also 
ICreate.Controls.Bars Namespace > SuperPanel Class : TextAlignment Property






Gets or sets the location of the Text in the client area of the SuperPanel.

Syntax

Visual Basic (Declaration) 
Public Property TextAlignment As ContentAlignment
Visual Basic (Usage)Copy Code
Dim instance As SuperPanel
Dim value As ContentAlignment
 
instance.TextAlignment = value
 
value = instance.TextAlignment
C# 
public ContentAlignment TextAlignment {get; set;}
Delphi 
public read-write property TextAlignment: ContentAlignment; 
JScript 
public function get,set TextAlignment : ContentAlignment
Managed Extensions for C++ 
public: __property ContentAlignment get_TextAlignment();
public: __property void set_TextAlignment( 
   ContentAlignment value
);
C++/CLI 
public:
property ContentAlignment TextAlignment {
   ContentAlignment get();
   void set (ContentAlignment value);
}

Return Value

A ContentAlignment value, this property specifies the location of the Text in the client area of the SuperPanel. The default value is MiddleCenter.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also