Hide

SftBox/OCX 5.0 - Combo Box Control

Display
Print

SftBoxCell.TextVAlign Property

Defines the vertical alignment of the text in this cell.

Syntax

Get

VB.NETStyle = object.TextVAlign As SftBoxVAlignDefaultConstants
VBStyle = object.TextVAlign As SftBoxVAlignDefaultConstants
C#.NETSftBoxVAlignDefaultConstants Style = object.TextVAlign;
VC++enum SftBoxVAlignDefaultConstants Style = object->TextVAlign;
enum SftBoxVAlignDefaultConstants Style = object->GetTextVAlign();
CHRESULT object->get_TextVAlign(enum SftBoxVAlignDefaultConstants* Style);

Put

VB.NETobject.TextVAlign = Style As SftBoxVAlignDefaultConstants
VBobject.TextVAlign = Style As SftBoxVAlignDefaultConstants
C#.NETSftBoxVAlignDefaultConstants object.TextVAlign = Style;
VC++enum SftBoxVAlignDefaultConstants object->TextVAlign = Style;
void object->PutTextVAlign(enum SftBoxVAlignDefaultConstants Style);
CHRESULT object->put_TextVAlign(enum SftBoxVAlignDefaultConstants Style);

object

A SftBoxCell object.

Style

Defines the vertical alignment of the text in this cell.

NameValueDescription
valignSftBoxDefault-1The text is aligned as defined using the default settings for this cell's column (see Column.CellVAlign).
valignSftBoxDefaultCenter0The cell text is vertically centered.
valignSftBoxDefaultTop1The cell text is aligned with the top of the available area.
valignSftBoxDefaultBottom2The cell text is aligned with the bottom of the available area.

Comments

The TextVAlign property defines the vertical alignment of the text in this cell.

The Cell.TextHAlign property is used to define the horizontal alignment of the text in this cell.

The TextVAlign property determines the position of the cell text and graphic, defined using the Cell.Text and Cell.Image properties. It overrides the column's default alignment defined using the Column.CellVAlign property.

See Also SftBoxCell Object | Object Hierarchy


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