New to Telerik UI for WinForms? Start a free 30-day trial

Draws the Cartesian grid's stripe fills and horizontal and vertical grid lines within the plot area.

Definition

Constructors

Initializes a new instance of the CartesianGridDrawPart class.

C#
public CartesianGridDrawPart(CartesianGrid grid, IChartRenderer renderer)
Parameters:gridCartesianGrid

The grid.

rendererIChartRenderer

The renderer.

Methods

Draws the grid parts.

C#
public override void Draw()

Overrides: DrawPart<CartesianGrid>.Draw()

Determines whether the element is valid.

C#
protected override bool IsElementValid()
Returns:

bool

Overrides: DrawPart<CartesianGrid>.IsElementValid()