Hide

SftBox/OCX 5.0 - Combo Box Control

Display
Print

SftBox.GridStyle Property

Defines the use of grid lines.

Deprecated - Provided for compatibility with earlier versions only - Use Items.GridStyle instead

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

Style

Defines the use of grid lines.

AlignValueDescription
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

Deprecated - Provided for compatibility with earlier versions only - Use Items.GridStyle instead

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 SftBox Object | Object Hierarchy


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