Hide

SftBox/OCX 5.0 - Combo Box Control

Display
Print

SftBoxHeader.TextHAlign Property

Defines the horizontal alignment of the text in this column header.

Syntax

Get

VB.NETStyle = object.TextHAlign As SftBoxHAlignConstants
VBStyle = object.TextHAlign As SftBoxHAlignConstants
C#.NETSftBoxHAlignConstants Style = object.TextHAlign;
VC++enum SftBoxHAlignConstants Style = object->TextHAlign;
enum SftBoxHAlignConstants Style = object->GetTextHAlign();
CHRESULT object->get_TextHAlign(enum SftBoxHAlignConstants* Style);

Put

VB.NETobject.TextHAlign = Style As SftBoxHAlignConstants
VBobject.TextHAlign = Style As SftBoxHAlignConstants
C#.NETSftBoxHAlignConstants object.TextHAlign = Style;
VC++enum SftBoxHAlignConstants object->TextHAlign = Style;
void object->PutTextHAlign(enum SftBoxHAlignConstants Style);
CHRESULT object->put_TextHAlign(enum SftBoxHAlignConstants Style);

object

A SftBoxHeader object.

Style

Defines the horizontal alignment of the text in this column header.

NameValueDescription
halignSftBoxLeft0The column header text is left aligned.
halignSftBoxCenter1The column header text is centered in the cell.
halignSftBoxRight2The column header text is right aligned.

Comments

The TextHAlign property defines the horizontal alignment of the text in this column header.

The Header.TextVAlign property is used to define the vertical alignment of the text in this column header.

The Header.ImageHAlign and Header.ImageVAlign properties are used to align the column header graphic component.

See Also SftBoxHeader Object | Object Hierarchy


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.