NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Label.TextAlign

Gets or sets the horizontal alignment of the text in the control.

[Visual Basic]
Overridable Public Property TextAlign As HorizontalAlignment
[C#]
public HorizontalAlignment TextAlign {virtual get; virtual set;}
[C++]
public: __property virtual HorizontalAlignment get_TextAlign();
public: __property virtual void set_TextAlign(HorizontalAlignment);
[JScript]
public function get TextAlign() : HorizontalAlignment;
public function set TextAlign(HorizontalAlignment);

Property Value

One of the HorizontalAlignment values. The default is Left.

See Also

Label Class | Label Members | System.WinForms Namespace | HorizontalAlignment