ClassSparkWrapper
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class SparkWrapper : LightVisualElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, IDisposable, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IDrawFillElement, IImageElement, ITextPrimitive, ITextProvider, ISparkViewHost
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemUIItemBaseLightVisualElementSparkWrapper
Implements:
Inherited Members
Constructors
SparkWrapper()
Declaration
public SparkWrapper()
Properties
Methods
ArrangeCore(RectangleF)
Arranges in the final rectangle.
Declaration
protected override void ArrangeCore(RectangleF finalRect)
Parameters
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
DpiScaleChanged(SizeF)
Called when the DPI scale is changed.
Declaration
public override void DpiScaleChanged(SizeF scaleFactor)
Parameters
scaleFactor
The scale factor.
Overrides
InitializeFields()
Initializes the fields.
Declaration
protected override void InitializeFields()
Overrides
OnCreatePoint(SparklineCreatePointEventArgs)
Raises the event.
Declaration
protected virtual void OnCreatePoint(SparklineCreatePointEventArgs e)
Parameters
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
sender
The sender.
e
SparklineCreateRendererEventArgs
The SparklineCreateRendererEventArgs instance containing the event data.
OnDataError(Exception)
Called when a data error occurs.
Declaration
protected virtual void OnDataError(Exception exception)
Parameters
exception
The exception.
ProcessResult(ActionResult)
Processes the result.
Declaration
protected virtual bool ProcessResult(ActionResult actionResult)
Parameters
actionResult
The action result.
Returns
WrapperCallOnKeyDown(KeyEventArgs)
Fires on key down.
Declaration
protected void WrapperCallOnKeyDown(KeyEventArgs e)
Parameters
e
The KeyEventArgs instance containing the event data.
WrapperCallOnKeyPress(KeyPressEventArgs)
Fires on key press.
Declaration
protected void WrapperCallOnKeyPress(KeyPressEventArgs e)
Parameters
e
The KeyPressEventArgs instance containing the event data.
WrapperCallOnKeyUp(KeyEventArgs)
Fires on key up.
Declaration
protected void WrapperCallOnKeyUp(KeyEventArgs e)
Parameters
e
The KeyEventArgs instance containing the event data.
WrapperCallOnMouseCaptureChanged(EventArgs)
Fires on mouse capture changed.
WrapperCallOnMouseClick(MouseEventArgs)
Fires on mouse click.
Declaration
protected virtual void WrapperCallOnMouseClick(MouseEventArgs e)
Parameters
e
The MouseEventArgs instance containing the event data.
WrapperCallOnMouseDoubleClick(MouseEventArgs)
Fires on mouse double click.
Declaration
protected void WrapperCallOnMouseDoubleClick(MouseEventArgs e)
Parameters
e
The MouseEventArgs instance containing the event data.
WrapperCallOnMouseDown(MouseEventArgs)
Fires on mouse down.
Declaration
protected void WrapperCallOnMouseDown(MouseEventArgs e)
Parameters
e
The MouseEventArgs instance containing the event data.
WrapperCallOnMouseEnter(EventArgs)
Fires on mouse enter.
WrapperCallOnMouseHover(EventArgs)
Fires on mouse hover.
WrapperCallOnMouseLeave(EventArgs)
Fires on mouse leave.
WrapperCallOnMouseMove(MouseEventArgs)
Calls MouseMove.
Declaration
protected void WrapperCallOnMouseMove(MouseEventArgs e)
Parameters
e
The MouseEventArgs instance containing the event data.
WrapperCallOnMouseUp(MouseEventArgs)
Fires on mouse up.
Declaration
protected void WrapperCallOnMouseUp(MouseEventArgs e)
Parameters
e
The MouseEventArgs instance containing the event data.
WrapperCallOnMouseWheel(MouseEventArgs)
Fires on mouse wheel.
Declaration
protected void WrapperCallOnMouseWheel(MouseEventArgs e)
Parameters
e
The MouseEventArgs instance containing the event data.
Events
CreatePoint
Occurs when a new DataPoint is created.
Declaration
public event SparklineCreatePointEventHandler CreatePoint
Event Value
CreateRenderer
Fired when the area requies an renderer for the first time.
Declaration
public event SparklineCreateRendererEventHandler CreateRenderer
Event Value
DataError
Occurs when a data error is detected.
Declaration
public event ChartViewDataErrorEventHandler DataError
Event Value
PaintSparkFill
Fires when a spark line will be painted using the SolidBrushclass.
Declaration
public event PaintSparkFillEventHandler PaintSparkFill
Event Value
PaintSparkStroke
Fires when a spark line will be painted using the Penclass.
Declaration
public event PaintSparkStrokeEventHandler PaintSparkStroke
Event Value