SftBox/OCX 5.0 Documentation

Display
Print

SftBoxItems.GridStyle Property

Defines the use of grid lines.

Syntax

Get

VB.NETStyle = object.GridStyle As SftBoxGridStyleConstants
VBStyle = object.GridStyle As SftBoxGridStyleConstants
C#.NETSftBoxGridStyleConstants Style = object.GridStyle;
VC++enum SftBoxGridStyleConstants Style = object->GridStyle;
enum SftBoxGridStyleConstants Style = object->GetGridStyle();
CHRESULT object->get_GridStyle(enum SftBoxGridStyleConstants* Style);

Put

VB.NETobject.GridStyle = Style As SftBoxGridStyleConstants
VBobject.GridStyle = Style As SftBoxGridStyleConstants
C#.NETSftBoxGridStyleConstants object.GridStyle = Style;
VC++enum SftBoxGridStyleConstants object->GridStyle = Style;void object->PutGridStyle(enum SftBoxGridStyleConstants Style);
CHRESULT object->put_GridStyle(enum SftBoxGridStyleConstants Style);

object

A SftBoxItems object.

Style

Defines the use of grid lines.

StyleValueDescription
gridSftBoxNone0No grid lines are drawn.
gridSftBoxVertical1Solid vertical grid lines are drawn between columns.
gridSftBoxHorizontal2Solid horizontal grid lines are drawn between items.
gridSftBoxBoth3Solid vertical and horizontal grid lines are drawn.
gridSftBoxVerticalDotted4Dotted vertical grid lines are drawn between columns.
gridSftBoxHorizontalDotted5Dotted horizontal grid lines are drawn between items.
gridSftBoxBothDotted6Dotted vertical and horizontal grid lines are drawn.
gridSftBoxHorzExtendRight7Solid horizontal grid lines are drawn between items extending beyond the last column to the right edge of the control.
gridSftBoxBothExtendRight8Solid vertical and horizontal grid lines are drawn extending beyond the last column to the right edge of the control.
gridSftBoxHorzDotExtendRight9Dotted horizontal grid lines are drawn between items extending beyond the last column to the right edge of the control.
gridSftBoxBothDotExtendRight10Dotted vertical and horizontal grid lines are drawn extending beyond the last column to the right edge of the control.

Comments

The GridStyle property defines the use of grid lines.

The color used for the grid lines is defined using the Items.GridHorizontalColor and Items.GridVerticalColor properties.

Horizontal grid lines are not drawn if items are drawn using a 3D display method (see Items.Appearance).

Horizontal grid lines are only shown in the drop down portion of the combo box.

See Also SftBoxItems Object | Object Hierarchy


Last Updated 09/02/2018 - (email)
© 2019 Softel vdm, Inc.