Class SparkView
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class SparkView : UISparkElement, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, IStylableElement, IStylableNode, IShapedElement, ISparkView, ISparkElementPresenter
Constructors
SparkView(ISparkViewHost)
Initializes a new instance of the Spark
Declaration
public SparkView(ISparkViewHost owner)
Parameters
ISpark The owner. |
SparkView(RadSparkline)
Initializes a new instance of the Spark
Declaration
public SparkView(RadSparkline owner)
Parameters
Rad The owner. |
SparkView(RadSparklineElement)
Initializes a new instance of the Spark
Declaration
public SparkView(RadSparklineElement owner)
Parameters
Rad The owner. |
Fields
MarginProperty
MinSizeProperty
Properties
Annotations
Gets the annotations.
Declaration
public SparkAnnotationCollection Annotations { get; }
Property Value
Spark The annotations. |
Area
AreaDesign
Gets or sets the area design.
Declaration
public SparkArea AreaDesign { get; set; }
Property Value
Spark The area design. |
Axes
Gets the axes.
Declaration
public SparkAxisCollection Axes { get; }
Property Value
Spark The axes. |
AxisDrawMode
Gets or sets whether the horizontal axis will be painted on top of the series.
Declaration
public AxisDrawMode AxisDrawMode { get; set; }
Property Value
ClientRectangle
Gets the client rectangle.
Declaration
public RectangleF ClientRectangle { get; }
Property Value
System. The client rectangle. |
Controllers
Gets the controllers.
Declaration
public SparkViewControllerCollection Controllers { get; }
Property Value
Spark The controllers. |
DataMember
Gets or sets the name of the list or table in the data source for which the Spark
Declaration
public string DataMember { get; set; }
Property Value
System.
|
DataSource
Gets or sets the data source of the Spark
Declaration
public object DataSource { get; set; }
Property Value
System.
|
EmptyPointBehavior
Declaration
public EmptyPointBehavior EmptyPointBehavior { get; set; }
Property Value
Margin
Gets or sets the margin.
Declaration
public Padding Margin { get; set; }
Property Value
System. The margin. |
MinSize
Gets or sets the minimum size.
Declaration
public SizeF MinSize { get; set; }
Property Value
System. The size of the min. |
Owner
Gets or sets the owner.
Declaration
public ISparkViewHost Owner { get; set; }
Property Value
ISpark The owner. |
Renderer
Gets the renderer.
Declaration
public ISparkRenderer Renderer { get; }
Property Value
ISpark The renderer. |
Series
Gets the series.
Declaration
public SparkSeries Series { get; set; }
Property Value
Spark The series. |
ShowAxis
Shows or hides the horizontal axis in the sparkline.
Declaration
public bool ShowAxis { get; set; }
Property Value
System.
|
ShowFirstPointIndicator
Gets or sets whether the first point indicator will be painted.
Declaration
public bool ShowFirstPointIndicator { get; set; }
Property Value
System.
|
ShowHighPointIndicator
Gets or sets whether the high point marker will be painted.
Declaration
public bool ShowHighPointIndicator { get; set; }
Property Value
System.
|
ShowLastPointIndicator
Gets or sets whether the last point indicator will be painted.
Declaration
public bool ShowLastPointIndicator { get; set; }
Property Value
System.
|
ShowLowPointIndicator
Gets or sets whether the low point indicator will be painted.
Declaration
public bool ShowLowPointIndicator { get; set; }
Property Value
System.
|
ShowNegativePointIndicators
Gets or sets whether the negative point markers will be painted.
Declaration
public bool ShowNegativePointIndicators { get; set; }
Property Value
System.
|
ShowToolTip
Gets or sets whether the tool tip will be shown.
Declaration
public bool ShowToolTip { get; set; }
Property Value
System. The show tool tip. |
Viewport
Gets or sets the viewport.
Declaration
public RadRect Viewport { get; set; }
Property Value
Rad The viewport. |
ViewResult
Gets or sets the view result.
Declaration
public ViewResult ViewResult { get; set; }
Property Value
View The view result. |
Methods
DeferRefresh()
Defers the refresh.
Declaration
public virtual IDisposable DeferRefresh()
Returns
System.
|
Draw(Object)
Draws the specified context.
Declaration
public virtual void Draw(object context)
Parameters
System. The context. |
GetArea<T>()
Gets the area.
Declaration
public T GetArea<T>()
where T : SparkArea
Returns
T
|
Type Parameters
T
The type of the T. |
Layout()
Layouts the sparkline.
Declaration
public void Layout()
Layout(Boolean)
Layouts the sparkline indicating whether to invalidate.
Declaration
public void Layout(bool redraw)
Parameters
System. The redraw. |
Layout(RadRect)
Layouts in the specified rect.
Declaration
public void Layout(RadRect rect)
Parameters
Rad The rect. |
OnAttached(UISparkElement)
Called when [attached].
Declaration
protected override void OnAttached(UISparkElement parent)
Parameters
UISpark The parent. |
Overrides
OnCreatePoint(SparklineCreatePointEventArgs)
Raises the Create
Declaration
protected virtual void OnCreatePoint(SparklineCreatePointEventArgs e)
Parameters
Sparkline The Sparkline |
OnCreateRenderer(Object, SparklineCreateRendererEventArgs)
Fires the CreateRenderer event.
Declaration
protected virtual void OnCreateRenderer(object sender, SparklineCreateRendererEventArgs e)
Parameters
System. The sender. |
Sparkline The Sparkline |
OnDataError(Exception)
Called when data error occurs.
Declaration
protected virtual void OnDataError(Exception exception)
Parameters
System. The exception. |
OnGesture(GestureEventArgs)
Raises the Gesture event.
Declaration
protected virtual void OnGesture(GestureEventArgs e)
Parameters
Gesture The Gesture |
OnKeyDown(KeyEventArgs)
Raises the Key
Declaration
protected virtual void OnKeyDown(KeyEventArgs e)
Parameters
System. The System. |
OnKeyPress(KeyPressEventArgs)
Raises the Key
Declaration
protected virtual void OnKeyPress(KeyPressEventArgs e)
Parameters
System. The System. |
OnKeyUp(KeyEventArgs)
Raises the Key
Declaration
protected virtual void OnKeyUp(KeyEventArgs e)
Parameters
System. The System. |
OnMouseCaptureChanged(EventArgs)
Raises the Mouse
Declaration
protected virtual void OnMouseCaptureChanged(EventArgs e)
Parameters
System. The System. |
OnMouseClick(MouseEventArgs)
Raises the Mouse
Declaration
protected virtual void OnMouseClick(MouseEventArgs e)
Parameters
System. The System. |
OnMouseDoubleClick(MouseEventArgs)
Raises the Mouse
Declaration
protected virtual void OnMouseDoubleClick(MouseEventArgs e)
Parameters
System. The System. |
OnMouseDown(MouseEventArgs)
Raises the Mouse
Declaration
protected virtual void OnMouseDown(MouseEventArgs e)
Parameters
System. The System. |
OnMouseEnter(EventArgs)
Raises the Mouse
Declaration
protected virtual void OnMouseEnter(EventArgs e)
Parameters
System. The System. |
OnMouseHover(EventArgs)
Raises the Mouse
Declaration
protected virtual void OnMouseHover(EventArgs e)
Parameters
System. The System. |
OnMouseLeave(EventArgs)
Raises the Mouse
Declaration
protected virtual void OnMouseLeave(EventArgs e)
Parameters
System. The System. |
OnMouseMove(MouseEventArgs)
Raises the Mouse
Declaration
protected virtual void OnMouseMove(MouseEventArgs e)
Parameters
System. The System. |
OnMouseUp(MouseEventArgs)
Raises the Mouse
Declaration
protected virtual void OnMouseUp(MouseEventArgs e)
Parameters
System. The System. |
OnMouseWheel(MouseEventArgs)
Raises the Mouse
Declaration
protected virtual void OnMouseWheel(MouseEventArgs e)
Parameters
System. The System. |
OnPanGesture(PanGestureEventArgs)
Raises the Pan
Declaration
protected virtual void OnPanGesture(PanGestureEventArgs e)
Parameters
Pan The Pan |
OnPressAndTapGesture(PressAndTapGestureEventArgs)
Raises the Press
Declaration
protected void OnPressAndTapGesture(PressAndTapGestureEventArgs e)
Parameters
Press The Press |
OnPropertyChanged(RadPropertyChangedEventArgs)
Declaration
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Parameters
Overrides
OnRotateGesture(RotateGestureEventArgs)
Raises the Rotate
Declaration
protected virtual void OnRotateGesture(RotateGestureEventArgs e)
Parameters
Rotate The Rotate |
OnTwoFingerTapGesture(GestureEventArgs)
Raises the Two
Declaration
protected virtual void OnTwoFingerTapGesture(GestureEventArgs e)
Parameters
Gesture The Gesture |
OnZoomGesture(ZoomGestureEventArgs)
Raises the Zoom
Declaration
protected virtual void OnZoomGesture(ZoomGestureEventArgs e)
Parameters
Zoom The Zoom |
PerformRefresh(UISparkElement, Boolean)
Performs refreshing the view.
Declaration
public void PerformRefresh(UISparkElement element, bool updateLayout)
Parameters
UISpark The element. |
System. The update layout. |
ProcessResult(ActionResult)
Processes the result.
Declaration
protected virtual bool ProcessResult(ActionResult actionResult)
Parameters
Action The action result. |
Returns
System.
|
Reset()
Resets the view.
Declaration
public void Reset()
ResumeRefresh()
Resumes refreshing the view.
Declaration
public void ResumeRefresh()
SuspendRefresh()
Suspends refreshing the view.
Declaration
public void SuspendRefresh()
SyncViewProperties()
Declaration
public virtual void SyncViewProperties()
Events
CreatePoint
Occurs when a new DataPoint is created.
Declaration
public event SparklineCreatePointEventHandler CreatePoint
Event Type
CreateRenderer
Fired when the area requires an renderer for the first time.
Declaration
public event SparklineCreateRendererEventHandler CreateRenderer
Event Type
DataError
Occurs when a data error is detected.
Declaration
public event ChartViewDataErrorEventHandler DataError
Event Type
Explicit Interface Implementations
ISparkElementPresenter.IsVisible
Declaration
bool ISparkElementPresenter.IsVisible { get; }
Returns
System.
|
Implements
ISparkElementPresenter.MeasureContent(SparkNode, Object)
Declaration
RadSize ISparkElementPresenter.MeasureContent(SparkNode owner, object content)
Parameters
Spark
|
System.
|
Returns
Implements
ISparkElementPresenter.RefreshNode(SparkNode)
Declaration
void ISparkElementPresenter.RefreshNode(SparkNode node)
Parameters
Spark
|
Implements
ISparkView.PlotAreaClip
Declaration
RadRect ISparkView.PlotAreaClip { get; }
Returns
Implements
ISparkView.ViewportHeight
Declaration
double ISparkView.ViewportHeight { get; }
Returns
System.
|
Implements
ISparkView.ViewportWidth
Declaration
double ISparkView.ViewportWidth { get; }
Returns
System.
|