Class RadSparklineElement
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class RadSparklineElement : LightVisualElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IImageElement, ITextPrimitive, ITextProvider
Constructors
RadSparklineElement()
Declaration
public RadSparklineElement()
Properties
Series
Collection of the SparkSeries
Declaration
public SparkSeries Series { get; set; }
Property Value
View
Gets the spark view displayed in the spark element.
Declaration
public SparkView View { get; }
Property Value
Wrapper
Gets the wrapper.
Declaration
public SparkWrapper Wrapper { get; }
Property Value
Spark The wrapper. |
Methods
ArrangeOverride(SizeF)
Arranges the override.
Declaration
protected override SizeF ArrangeOverride(SizeF finalSize)
Parameters
System. The final size. |
Returns
System.
|
Overrides
CreateChildElements()
Called by the element when constructed. Allows inheritors to build the element tree.
Declaration
protected override void CreateChildElements()
Overrides
CreateSparkWrapperElement()
Creates the spark wrapper element.
Declaration
protected virtual SparkWrapper CreateSparkWrapperElement()
Returns
ExportToImage(Stream, Size, ImageFormat)
Exports the sparkline view into the specified stream.
Declaration
public void ExportToImage(Stream stream, Size size, ImageFormat imageFormat)
Parameters
System. The stream to which to write the chart image |
System. The size of the exported image. |
System. The image format in which to export the chart. |
GetStylableChildren()
Gets the stylable children.
Declaration
protected override IEnumerable<RadObject> GetStylableChildren()
Returns
System.
|
Overrides
GetStylableChildrenHierarchy()
Gets the stylable children hierarchy.
Declaration
protected override IEnumerable<RadObject> GetStylableChildrenHierarchy()
Returns
System.
|
Overrides
InitializeFields()
Initializes member fields to their default values. This method is called prior the CreateChildItems one and allows for initialization of members on which child elements depend.
Declaration
protected override void InitializeFields()
Overrides
OnKeyDown(KeyEventArgs)
Raises the KeyDown event.
Declaration
protected override void OnKeyDown(KeyEventArgs e)
Parameters
System.
|
Overrides
OnKeyPress(KeyPressEventArgs)
Raises the KeyPress event.
Declaration
protected override void OnKeyPress(KeyPressEventArgs e)
Parameters
System.
|
Overrides
OnKeyUp(KeyEventArgs)
Raises the KeyUp event.
Declaration
protected override void OnKeyUp(KeyEventArgs e)
Parameters
System.
|
Overrides
OnMouseDown(MouseEventArgs)
Raises the Mouse
Declaration
protected override void OnMouseDown(MouseEventArgs e)
Parameters
System. The System. |
Overrides
OnMouseEnter(EventArgs)
Raises the Mouse
Declaration
protected override void OnMouseEnter(EventArgs e)
Parameters
System. The System. |
Overrides
OnMouseHover(EventArgs)
Raises the Mouse
Declaration
protected override void OnMouseHover(EventArgs e)
Parameters
System. The System. |
Overrides
OnMouseLeave(EventArgs)
Raises the Mouse
Declaration
protected override void OnMouseLeave(EventArgs e)
Parameters
System. The System. |
Overrides
OnMouseMove(MouseEventArgs)
Raises the Mouse
Declaration
protected override void OnMouseMove(MouseEventArgs e)
Parameters
System. The System. |
Overrides
OnMouseUp(MouseEventArgs)
Raises the Mouse
Declaration
protected override void OnMouseUp(MouseEventArgs e)
Parameters
System. The System. |
Overrides
OnMouseWheel(MouseEventArgs)
Raises the MouseWheel event.
Declaration
protected override void OnMouseWheel(MouseEventArgs e)
Parameters
System.
|
Overrides
OnRenderSizeChanged(SizeChangedInfo)
Called when [render size changed].
Declaration
protected override void OnRenderSizeChanged(SizeChangedInfo info)
Parameters
Size The info. |
Overrides
PaintElement(IGraphics, Single, SizeF)
Paints the element.
Declaration
protected override void PaintElement(IGraphics graphics, float angle, SizeF scale)
Parameters
IGraphics
graphics
The graphics. |
System. The angle. |
System. The scale. |
Overrides
ShouldFallbackToDefaultTheme()
Indicates whether to fallback to default theme.
Declaration
protected override bool ShouldFallbackToDefaultTheme()
Returns
System.
|
Overrides
Events
CreatePoint
Occurs when a new DataPoint is created.
Declaration
public event SparklineCreatePointEventHandler CreatePoint
Event Type
CreateRenderer
Fires when the area requies a renderer for the first time.
Declaration
public event SparklineCreateRendererEventHandler CreateRenderer
Event Type
PaintSparkFill
Fires when a spark fill will be painted using the System.
Declaration
public event PaintSparkFillEventHandler PaintSparkFill
Event Type
PaintSparkStroke
Fires when a spark line will be painted using the System.
Declaration
public event PaintSparkStrokeEventHandler PaintSparkStroke
Event Type
RenderSizeChanged
Declaration
public event EventHandler RenderSizeChanged
Event Type
System.
|