Skip to content

XTPGridGridStyle Enumeration

Description

Represents the predefined grid line styles.

Members

Member Description
xtpGridNoLines No grid lines are drawn.
xtpGridSmallDots Grid lines are drawn with small dots.
xtpGridLargeDots Grid lines are drawn with large dots.
xtpGridDashes Grid lines are drawn with dashes.
xtpGridSolid Grid lines are drawn with a solid line.

Remarks

This specifies how the horizontal and vertical grid lines will be drawn in the GridControl.

Example

Changing the Horizontal Grid Line Style (Visual Basic)

This sample illustrates how to change the horizontal grid line style.

wndGridControl.PaintManager.HorizontalGridStyle = xtpGridDashes  
wndGridControl.Redraw

Changing the Vertical Grid Line Style (Visual Basic)

This sample illustrates how to change the vertical grid line style.

wndGridControl.PaintManager.VerticalGridStyle = xtpGridLargeDots  
wndGridControl.Redraw

See Also


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.