SparkWrapper
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
public SparkWrapper()
Properties
Methods
Arranges in the final rectangle.
protected override void ArrangeCore(RectangleF finalRect)
The final rect.
Overrides:
Called by the element when constructed. Allows inheritors to build the element tree.
protected override void CreateChildElements()
Overrides:
Called when the DPI scale is changed.
public override void DpiScaleChanged(SizeF scaleFactor)
The scale factor.
Overrides:
Initializes the fields.
protected override void InitializeFields()
Overrides:
Raises the event.
protected virtual void OnCreatePoint(SparklineCreatePointEventArgs e)
The SparklineCreatePointEventArgs instance containing the event data.
Called when creating the renderer.
protected virtual void OnCreateRenderer(object sender, SparklineCreateRendererEventArgs e)
The sender.
eSparklineCreateRendererEventArgsThe SparklineCreateRendererEventArgs instance containing the event data.
Called when a data error occurs.
protected virtual void OnDataError(Exception exception)
The exception.
Processes the result.
protected virtual bool ProcessResult(ActionResult actionResult)
The action result.
Returns:Fires on key down.
protected void WrapperCallOnKeyDown(KeyEventArgs e)
The KeyEventArgs instance containing the event data.
Fires on key press.
protected void WrapperCallOnKeyPress(KeyPressEventArgs e)
The KeyPressEventArgs instance containing the event data.
Fires on key up.
protected void WrapperCallOnKeyUp(KeyEventArgs e)
The KeyEventArgs instance containing the event data.
Fires on mouse click.
protected virtual void WrapperCallOnMouseClick(MouseEventArgs e)
The MouseEventArgs instance containing the event data.
Fires on mouse double click.
protected void WrapperCallOnMouseDoubleClick(MouseEventArgs e)
The MouseEventArgs instance containing the event data.
Fires on mouse down.
protected void WrapperCallOnMouseDown(MouseEventArgs e)
The MouseEventArgs instance containing the event data.
Calls MouseMove.
protected void WrapperCallOnMouseMove(MouseEventArgs e)
The MouseEventArgs instance containing the event data.
Fires on mouse up.
protected void WrapperCallOnMouseUp(MouseEventArgs e)
The MouseEventArgs instance containing the event data.
Fires on mouse wheel.
protected void WrapperCallOnMouseWheel(MouseEventArgs e)
The MouseEventArgs instance containing the event data.
Events
Occurs when a new DataPoint is created.
public event SparklineCreatePointEventHandler CreatePoint
Fired when the area requies an renderer for the first time.
public event SparklineCreateRendererEventHandler CreateRenderer
Occurs when a data error is detected.
public event ChartViewDataErrorEventHandler DataError
Fires when a spark line will be painted using the SolidBrushclass.
public event PaintSparkFillEventHandler PaintSparkFill
Fires when a spark line will be painted using the Penclass.
public event PaintSparkStrokeEventHandler PaintSparkStroke