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

Provides axis drawing that clips to the axis layout bounds and delegates axis-specific rendering to DrawAxis().

Definition

Constructors

Initializes a new instance of the SparkAxisDrawPart class.

C#
public SparkAxisDrawPart(SparkAxis axis, ISparkRenderer renderer)
Parameters:axisSparkAxis

The axis.

rendererISparkRenderer

The renderer.

Methods

Draws this instance.

C#
public override void Draw()

Overrides: SparkDrawPart<SparkAxis>.Draw()

Draws the axis.

C#
protected virtual void DrawAxis()

Gets the clip rect.

C#
protected virtual RectangleF GetClipRect()
Returns:

RectangleF

Determines whether the element is valid.

C#
protected override bool IsElementValid()
Returns:

bool

Overrides: SparkDrawPart<SparkAxis>.IsElementValid()