Hide

SftBox/OCX 5.0 - Combo Box Control

Display
Print

SftBoxRowHeaders.TextHAlign Property

Defines the horizontal alignment of text in all row headers.

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 SftBoxRowHeaders object.

Style

Defines the horizontal alignment of text in all row headers.

NameValueDescription
halignSftBoxLeft0The row header text and/or graphic component are left aligned.
halignSftBoxCenter1The row header text and/or graphic component are centered in the cell.
halignSftBoxRight2The row header text and/or graphic component are right aligned.

Comments

The TextHAlign property defines the horizontal alignment of text in all row headers.

Individual row headers can override the default text alignment using the RowHeader.TextHAlign property.

The RowHeaders.TextVAlign property can be used to define the default vertical alignment of text in all row headers.

See Also SftBoxRowHeaders Object | Object Hierarchy


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