Class SparkWrapper
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class SparkWrapper : LightVisualElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IImageElement, ITextPrimitive, ITextProvider, ISparkViewHost
Constructors
SparkWrapper()
Declaration
public SparkWrapper()
Properties
View
Gets or sets the view.
Declaration
public SparkView View { get; set; }
Property Value
SparkView
The view. |
Implements
Methods
ArrangeCore(RectangleF)
Arranges in the final rectangle.
Declaration
protected override void ArrangeCore(RectangleF finalRect)
Parameters
System.Drawing.RectangleF
finalRect
The final rect. |
Overrides
CreateChildElements()
Called by the element when constructed. Allows inheritors to build the element tree.
Declaration
protected override void CreateChildElements()
Overrides
CreateSparkView()
DpiScaleChanged(SizeF)
Called when the DPI scale is changed.
Declaration
public override void DpiScaleChanged(SizeF scaleFactor)
Parameters
System.Drawing.SizeF
scaleFactor
The scale factor. |
Overrides
InitializeFields()
Initializes the fields.
Declaration
protected override void InitializeFields()
Overrides
OnCreatePoint(SparklineCreatePointEventArgs)
Raises the CreatePoint event.
Declaration
protected virtual void OnCreatePoint(SparklineCreatePointEventArgs e)
Parameters
SparklineCreatePointEventArgs
e
The SparklineCreatePointEventArgs instance containing the event data. |
OnCreateRenderer(Object, SparklineCreateRendererEventArgs)
Called when creating the renderer.
Declaration
protected virtual void OnCreateRenderer(object sender, SparklineCreateRendererEventArgs e)
Parameters
System.Object
sender
The sender. |
SparklineCreateRendererEventArgs
e
The SparklineCreateRendererEventArgs instance containing the event data. |
OnDataError(Exception)
Called when a data error occurs.
Declaration
protected virtual void OnDataError(Exception exception)
Parameters
System.Exception
exception
The exception. |
ProcessResult(ActionResult)
Processes the result.
Declaration
protected virtual bool ProcessResult(ActionResult actionResult)
Parameters
ActionResult
actionResult
The action result. |
Returns
System.Boolean
|
WrapperCallOnKeyDown(KeyEventArgs)
Fires on key down.
Declaration
protected void WrapperCallOnKeyDown(KeyEventArgs e)
Parameters
System.Windows.Forms.KeyEventArgs
e
The System.Windows.Forms.KeyEventArgs instance containing the event data. |
WrapperCallOnKeyPress(KeyPressEventArgs)
Fires on key press.
Declaration
protected void WrapperCallOnKeyPress(KeyPressEventArgs e)
Parameters
System.Windows.Forms.KeyPressEventArgs
e
The System.Windows.Forms.KeyPressEventArgs instance containing the event data. |
WrapperCallOnKeyUp(KeyEventArgs)
Fires on key up.
Declaration
protected void WrapperCallOnKeyUp(KeyEventArgs e)
Parameters
System.Windows.Forms.KeyEventArgs
e
The System.Windows.Forms.KeyEventArgs instance containing the event data. |
WrapperCallOnMouseCaptureChanged(EventArgs)
Fires on mouse capture changed.
Declaration
protected virtual void WrapperCallOnMouseCaptureChanged(EventArgs e)
Parameters
System.EventArgs
e
The System.EventArgs instance containing the event data. |
WrapperCallOnMouseClick(MouseEventArgs)
Fires on mouse click.
Declaration
protected virtual void WrapperCallOnMouseClick(MouseEventArgs e)
Parameters
System.Windows.Forms.MouseEventArgs
e
The System.Windows.Forms.MouseEventArgs instance containing the event data. |
WrapperCallOnMouseDoubleClick(MouseEventArgs)
Fires on mouse double click.
Declaration
protected void WrapperCallOnMouseDoubleClick(MouseEventArgs e)
Parameters
System.Windows.Forms.MouseEventArgs
e
The System.Windows.Forms.MouseEventArgs instance containing the event data. |
WrapperCallOnMouseDown(MouseEventArgs)
Fires on mouse down.
Declaration
protected void WrapperCallOnMouseDown(MouseEventArgs e)
Parameters
System.Windows.Forms.MouseEventArgs
e
The System.Windows.Forms.MouseEventArgs instance containing the event data. |
WrapperCallOnMouseEnter(EventArgs)
Fires on mouse enter.
Declaration
protected void WrapperCallOnMouseEnter(EventArgs e)
Parameters
System.EventArgs
e
The System.EventArgs instance containing the event data. |
WrapperCallOnMouseHover(EventArgs)
Fires on mouse hover.
Declaration
protected void WrapperCallOnMouseHover(EventArgs e)
Parameters
System.EventArgs
e
The System.EventArgs instance containing the event data. |
WrapperCallOnMouseLeave(EventArgs)
Fires on mouse leave.
Declaration
protected void WrapperCallOnMouseLeave(EventArgs e)
Parameters
System.EventArgs
e
The System.EventArgs instance containing the event data. |
WrapperCallOnMouseMove(MouseEventArgs)
Calls MouseMove.
Declaration
protected void WrapperCallOnMouseMove(MouseEventArgs e)
Parameters
System.Windows.Forms.MouseEventArgs
e
The System.Windows.Forms.MouseEventArgs instance containing the event data. |
WrapperCallOnMouseUp(MouseEventArgs)
Fires on mouse up.
Declaration
protected void WrapperCallOnMouseUp(MouseEventArgs e)
Parameters
System.Windows.Forms.MouseEventArgs
e
The System.Windows.Forms.MouseEventArgs instance containing the event data. |
WrapperCallOnMouseWheel(MouseEventArgs)
Fires on mouse wheel.
Declaration
protected void WrapperCallOnMouseWheel(MouseEventArgs e)
Parameters
System.Windows.Forms.MouseEventArgs
e
The System.Windows.Forms.MouseEventArgs instance containing the event data. |
Events
CreatePoint
Occurs when a new DataPoint is created.
Declaration
public event SparklineCreatePointEventHandler CreatePoint
Event Type
SparklineCreatePointEventHandler
|
CreateRenderer
Fired when the area requies an renderer for the first time.
Declaration
public event SparklineCreateRendererEventHandler CreateRenderer
Event Type
SparklineCreateRendererEventHandler
|
DataError
Occurs when a data error is detected.
Declaration
public event ChartViewDataErrorEventHandler DataError
Event Type
ChartViewDataErrorEventHandler
|
PaintSparkFill
Fires when a spark line will be painted using the System.Drawing.SolidBrushclass.
Declaration
public event PaintSparkFillEventHandler PaintSparkFill
Event Type
PaintSparkFillEventHandler
|
PaintSparkStroke
Fires when a spark line will be painted using the System.Drawing.Penclass.
Declaration
public event PaintSparkStrokeEventHandler PaintSparkStroke
Event Type
PaintSparkStrokeEventHandler
|
Explicit Interface Implementations
ISparkViewHost.ClientRectangle
Declaration
RectangleF ISparkViewHost.ClientRectangle { get; }
Returns
System.Drawing.RectangleF
|
Implements
ISparkViewHost.Control
Declaration
Control ISparkViewHost.Control { get; }
Returns
System.Windows.Forms.Control
|
Implements
ISparkViewHost.Controllers
Declaration
SparkViewControllerCollection ISparkViewHost.Controllers { get; set; }
Returns
SparkViewControllerCollection
|
Implements
ISparkViewHost.Invalidate()
ISparkViewHost.OnPaintSparkFill(Object, PaintSparkFillEventArgs)
Called when painting the spark fill.
Declaration
void ISparkViewHost.OnPaintSparkFill(object sender, PaintSparkFillEventArgs e)
Parameters
System.Object
sender
The sender. |
PaintSparkFillEventArgs
e
The PaintSparkFillEventArgs instance containing the event data. |
Implements
ISparkViewHost.OnPaintSparkStroke(Object, PaintSparkStrokeEventArgs)
Called when painting the spark line.
Declaration
void ISparkViewHost.OnPaintSparkStroke(object sender, PaintSparkStrokeEventArgs e)
Parameters
System.Object
sender
The sender. |
PaintSparkStrokeEventArgs
e
The PaintSparkStrokeEventArgs instance containing the event data. |
Implements
ISparkViewHost.Visible
Declaration
bool ISparkViewHost.Visible { get; set; }
Returns
System.Boolean
|