Hide

SftBox/OCX 5.0 - Combo Box Control

Display
Print

SftBoxRowHeader.TextHAlign Property

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

Syntax

Get

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

Put

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

object

A SftBoxRowHeader object.

Style

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

NameValueDescription
halignSftBoxDefault-1The text and graphic component are aligned as defined using the default settings for row headers (see RowHeaders.TextHAlign).
halignSftBoxDefaultLeft0The row header text and graphic component are left aligned.
halignSftBoxDefaultCenter1The row header text and graphic component are centered in the cell.
halignSftBoxDefaultRight2The row header text and graphic component are right aligned.

Comments

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

Row header text and graphics are defined using the RowHeader.Text and RowHeader.Image properties.

The default alignment for all row headers is defined using the RowHeaders.TextHAlign and RowHeaders.TextVAlign properties.

See Also SftBoxRowHeader Object | Object Hierarchy


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