ISparkViewHost
Provides the control surface and painting callbacks through which a SparkView is hosted.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public interface ISparkViewHost
Properties
Gets the rectangle available for rendering the spark view.
RectangleF ClientRectangle { get; }
Gets the WinForms control associated with the host, or null when it is not attached to a control tree.
Control Control { get; }
Gets or sets the controllers that handle input and view behavior for the hosted spark view.
SparkViewControllerCollection Controllers { get; set; }
Methods
Invalidates the host so the spark view is repainted.
void Invalidate()
Invokes the host's fill-painting callback so subscribers can customize a sparkline fill.
void OnPaintSparkFill(object sender, PaintSparkFillEventArgs e)
The element requesting fill painting.
ePaintSparkFillEventArgsThe fill settings and drawing context.
Invokes the host's stroke-painting callback so subscribers can customize a sparkline stroke.
void OnPaintSparkStroke(object sender, PaintSparkStrokeEventArgs e)
The element requesting stroke painting.
ePaintSparkStrokeEventArgsThe stroke settings and drawing context.