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

Represents a drawable part of a spark element that can participate in data-point hit testing.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public interface ISparkDrawPart

Properties

Gets the object represented by the part currently being painted, such as a series or data point.

C#
object PaintContext { get; }

Gets the renderer used to draw this part.

C#
ISparkRenderer Renderer { get; }

Methods

Draws this part using its associated renderer.

C#
void Draw()

Finds the data point hit at the specified location.

C#
SparkDataPoint HitTest(Point location)
Parameters:locationPoint

The location to test.

Returns:

SparkDataPoint

The hit data point, or null if this part does not hit a data point.