SftBox/OCX 4.5

SftBoxColumn.CellVAlign Property

Softel vdm, Inc.

Defines the default vertical alignment of cell contents in this column.

Syntax       

Get

VB.NET

Style = object.CellVAlign  As SftBoxVAlignConstants

VB

Style = object.CellVAlign  As SftBoxVAlignConstants

C#.NET

SftBoxVAlignConstants Style = object.CellVAlign;

VC++

enum SftBoxVAlignConstants Style = object->CellVAlign;
enum SftBoxVAlignConstants Style = object->GetCellVAlign();

C

HRESULT object->get_CellVAlign(enum SftBoxVAlignConstants* Style);

Delphi

Style := object.CellVAlign  : TOleEnum;

Put

VB.NET

object.CellVAlign = Style  As SftBoxVAlignConstants

VB

object.CellVAlign = Style  As SftBoxVAlignConstants

C#.NET

SftBoxVAlignConstants object.CellVAlign = Style;

VC++

enum SftBoxVAlignConstants object->CellVAlign = Style;
void object->PutCellVAlign(enum SftBoxVAlignConstants Style);

C

HRESULT object->put_CellVAlign(enum SftBoxVAlignConstants Style);

Delphi

object.CellVAlign := Style  : TOleEnum;

object

A SftBoxColumn object.

Style

Defines the default vertical alignment of cell contents in this column.

Name

Value

Description

valignSftBoxCenter

0

The text is vertically centered.

valignSftBoxTop

1

The text is aligned with the top of the available area.

valignSftBoxBottom

2

The text is aligned with the bottom of the available area.

Comments

The CellVAlign property defines the default vertical alignment of cell contents in this column.

The alignment applies to all cells in the column specified. Individual cells can override the defined default alignment using the Cell.TextHAlign, Cell.TextVAlign, Cell.ImageHAlign and Cell.ImageVAlign properties.


Feedback / comments / error reports for this topic
© 2008 - Softel vdm, Inc. - www.softelvdm.com