About Progress

  • Company
    • Company Overview
    • Leadership
    • Corporate Social Responsibility
    • Investor Relations
    • Press Releases
    • Press Coverage
    • Recognitions
    • Progress Labs
    • Events
    • Customers
    • Careers
    • Offices
  • Technology
    • Cloud Native App Dev Platform
    • Cognitive Services
    • Web Content Management
    • UI/UX Tools
    • Secure Data Connectivity and Integration
    • Secure Managed File Transfer
    • OpenEdge
    • Network Monitoring
  • Services
    • Consulting
    • Education
    • Modernization
    • Outsourcing
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • Conversational UI
    • Online Training
    • Document Processing Library
    Web
    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for ASP.NET AJAX UI for ASP.NET MVC UI for ASP.NET Core UI for Blazor UI for Silverlight UI for PHP UI for JSP
    Mobile
    UI for Xamarin NativeScript OSS framework
    Desktop
    UI for WPF UI for UWP UI for WinForms
    Reporting & Mocking
    Telerik Reporting Telerik Report Server Telerik JustMock
    Automated Testing
    Test Studio Test Studio Dev Edition
    Debugging
    FiddlerCore
    CMS
    Sitefinity
    UX Design
    Unite UX
    Document Management
    Telerik Document Processing
    Innovations Lab
    VR DataViz
    Free Tools
    Fiddler JustAssembly JustDecompile VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Docs & Support
  • Pricing
  • Search
  • Shopping cart
    • Account Overview
    • Edit Profile
    • Payment Profiles
    • Renewals & Upgrades
    • Support Tickets
    • Log out
  • Login
  • Contact Us
  • Try now

Class SparkView

Inheritance
System.Object
DisposableObject
RadObject
UISparkElement
SparkView
Inherited Members
UISparkElement.IsVisibleProperty
UISparkElement.ClassProperty
UISparkElement.VisualStateProperty
UISparkElement.IsMouseDownProperty
UISparkElement.IsMouseOverProperty
UISparkElement.FontProperty
UISparkElement.CustomFontProperty
UISparkElement.CustomFontSizeProperty
UISparkElement.CustomFontStyleProperty
UISparkElement.ForeColorProperty
UISparkElement.BackColorProperty
UISparkElement.BorderWidthProperty
UISparkElement.BorderColorProperty
UISparkElement.BorderDashStyleProperty
UISparkElement.ShapeProperty
UISparkElement.SmoothingModeProperty
UISparkElement.GetValue(RadProperty)
UISparkElement.Attach(UISparkElement)
UISparkElement.Dettach()
UISparkElement.OnDettached()
UISparkElement.Refresh()
UISparkElement.Invalidate()
UISparkElement.MeasureContentOverride(SparkNode, Object)
UISparkElement.DpiScaleChanged(SizeF)
UISparkElement.GetScaledFont(Single)
UISparkElement.GetCurrentShape()
UISparkElement.GetThemeEffectiveType()
UISparkElement.IStylableNode.ApplySettings(PropertySettingGroup)
UISparkElement.ApplyStyleSettingsCore(PropertySettingGroup)
UISparkElement.ApplyStyle()
UISparkElement.BuildVisualState()
UISparkElement.AddStylePropertySetting(IPropertySetting)
UISparkElement.ApplyStyleByIndex(PropertySettingGroup, Int32)
UISparkElement.Parent
UISparkElement.Level
UISparkElement.Children
UISparkElement.IsMouseDown
UISparkElement.IsMouseOver
UISparkElement.View
UISparkElement.IsVisible
UISparkElement.ForeColor
UISparkElement.Font
UISparkElement.CustomFont
UISparkElement.CustomFontSize
UISparkElement.CustomFontStyle
UISparkElement.BackColor
UISparkElement.BorderWidth
UISparkElement.BorderColor
UISparkElement.BorderDashStyle
UISparkElement.Shape
UISparkElement.SmoothingMode
UISparkElement.IsAttached
UISparkElement.DpiScaleFactor
UISparkElement.ScaledFontsCache
UISparkElement.Class
UISparkElement.VisualState
UISparkElement.ThemeRole
UISparkElement.ChildrenHierarchy
UISparkElement.IStylableNode.Children
UISparkElement.IStylableNode.Parent
UISparkElement.Style
UISparkElement.StateManager
UISparkElement.FallbackToDefaultTheme
RadObject.BindingContextProperty
RadObject.RadType
RadObject.DisposeManagedResources()
RadObject.ClearPropertyStore()
RadObject.SuspendPropertyNotifications()
RadObject.ResumePropertyNotifications()
RadObject.GetPropertyValue(RadProperty)
RadObject.SetDefaultValueOverride(RadProperty, Object)
RadObject.SetValueAtDesignTime(RadProperty, Object)
RadObject.SetValue(RadProperty, Object)
RadObject.ResetValue(RadProperty)
RadObject.ResetValue(RadProperty, ValueResetFlags)
RadObject.UpdateValue(RadProperty)
RadObject.GetValueSource(RadProperty)
RadObject.GetRegisteredRadProperty(String)
RadObject.UpdateValueCore(RadPropertyValue)
RadObject.SetValueCore(RadPropertyValue, Object, Object, ValueSource)
RadObject.ResetValueCore(RadPropertyValue, ValueResetFlags)
RadObject.GetDefaultValue(RadPropertyValue, Object)
RadObject.CoerceValue(RadPropertyValue, Object)
RadObject.ShouldSerializeProperty(PropertyDescriptor)
RadObject.CanRaisePropertyChangeNotifications(RadPropertyValue)
RadObject.BindProperty(RadProperty, RadObject, RadProperty, PropertyBindingOptions)
RadObject.UnbindProperty(RadProperty)
RadObject.RemoveStylePropertySetting(IPropertySetting)
RadObject.RemoveStylePropertySetting(RadProperty)
RadObject.GetInheritedValue(RadProperty)
RadObject.OnPropertyChanging(RadPropertyChangingEventArgs)
RadObject.OnNotifyPropertyChanged(String)
RadObject.OnNotifyPropertyChanged(PropertyChangedEventArgs)
RadObject.IsPropertyCancelable(RadPropertyMetadata)
RadObject.PropertyValues
RadObject.IsDesignMode
RadObject.PropertyFilter
RadObject.RadObjectType
RadObject.BindingContext
RadObject.PropertyChanged
RadObject.RadPropertyChanged
RadObject.RadPropertyChanging
DisposableObject.GetBitState(Int64)
DisposableObject.SetBitState(Int64, Boolean)
DisposableObject.OnBitStateChanged(Int64, Boolean, Boolean)
DisposableObject.Dispose()
DisposableObject.Dispose(Boolean)
DisposableObject.PerformDispose(Boolean)
DisposableObject.DisposeUnmanagedResources()
DisposableObject.BitState
DisposableObject.Events
DisposableObject.IsDisposing
DisposableObject.IsDisposed
DisposableObject.Disposed
DisposableObject.Disposing
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
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 SparkView class.

Declaration
public SparkView(ISparkViewHost owner)
Parameters
ISparkViewHost owner

The owner.

SparkView(RadSparkline)

Initializes a new instance of the SparkView class.

Declaration
public SparkView(RadSparkline owner)
Parameters
RadSparkline owner

The owner.

SparkView(RadSparklineElement)

Initializes a new instance of the SparkView class.

Declaration
public SparkView(RadSparklineElement owner)
Parameters
RadSparklineElement owner

The owner.

Fields

MarginProperty

Declaration
public static RadProperty MarginProperty
Field Value
RadProperty

MinSizeProperty

Declaration
public static RadProperty MinSizeProperty
Field Value
RadProperty

Properties

Annotations

Gets the annotations.

Declaration
public SparkAnnotationCollection Annotations { get; }
Property Value
SparkAnnotationCollection

The annotations.

Area

Gets the area.

Declaration
public SparkArea Area { get; }
Property Value
SparkArea

The area.

AreaDesign

Gets or sets the area design.

Declaration
public SparkArea AreaDesign { get; set; }
Property Value
SparkArea

The area design.

Axes

Gets the axes.

Declaration
public SparkAxisCollection Axes { get; }
Property Value
SparkAxisCollection

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
AxisDrawMode

ClientRectangle

Gets the client rectangle.

Declaration
public RectangleF ClientRectangle { get; }
Property Value
System.Drawing.RectangleF

The client rectangle.

Controllers

Gets the controllers.

Declaration
public SparkViewControllerCollection Controllers { get; }
Property Value
SparkViewControllerCollection

The controllers.

DataMember

Gets or sets the name of the list or table in the data source for which the SparkSeries is bound.

Declaration
public string DataMember { get; set; }
Property Value
System.String

DataSource

Gets or sets the data source of the SparkSeries.

Declaration
public object DataSource { get; set; }
Property Value
System.Object

EmptyPointBehavior

Declaration
public EmptyPointBehavior EmptyPointBehavior { get; set; }
Property Value
EmptyPointBehavior

Margin

Gets or sets the margin.

Declaration
public Padding Margin { get; set; }
Property Value
System.Windows.Forms.Padding

The margin.

MinSize

Gets or sets the minimum size.

Declaration
public SizeF MinSize { get; set; }
Property Value
System.Drawing.SizeF

The size of the min.

Owner

Gets or sets the owner.

Declaration
public ISparkViewHost Owner { get; set; }
Property Value
ISparkViewHost

The owner.

Renderer

Gets the renderer.

Declaration
public ISparkRenderer Renderer { get; }
Property Value
ISparkRenderer

The renderer.

Series

Gets the series.

Declaration
public SparkSeries Series { get; set; }
Property Value
SparkSeries

The series.

ShowAxis

Shows or hides the horizontal axis in the sparkline.

Declaration
public bool ShowAxis { get; set; }
Property Value
System.Boolean

ShowFirstPointIndicator

Gets or sets whether the first point indicator will be painted.

Declaration
public bool ShowFirstPointIndicator { get; set; }
Property Value
System.Boolean

ShowHighPointIndicator

Gets or sets whether the high point marker will be painted.

Declaration
public bool ShowHighPointIndicator { get; set; }
Property Value
System.Boolean

ShowLastPointIndicator

Gets or sets whether the last point indicator will be painted.

Declaration
public bool ShowLastPointIndicator { get; set; }
Property Value
System.Boolean

ShowLowPointIndicator

Gets or sets whether the low point indicator will be painted.

Declaration
public bool ShowLowPointIndicator { get; set; }
Property Value
System.Boolean

ShowNegativePointIndicators

Gets or sets whether the negative point markers will be painted.

Declaration
public bool ShowNegativePointIndicators { get; set; }
Property Value
System.Boolean

ShowToolTip

Gets or sets whether the tool tip will be shown.

Declaration
public bool ShowToolTip { get; set; }
Property Value
System.Boolean

The show tool tip.

Viewport

Gets or sets the viewport.

Declaration
public RadRect Viewport { get; set; }
Property Value
RadRect

The viewport.

ViewResult

Gets or sets the view result.

Declaration
public ViewResult ViewResult { get; set; }
Property Value
ViewResult

The view result.

Methods

DeferRefresh()

Defers the refresh.

Declaration
public virtual IDisposable DeferRefresh()
Returns
System.IDisposable

Draw(Object)

Draws the specified context.

Declaration
public virtual void Draw(object context)
Parameters
System.Object context

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.Boolean redraw

The redraw.

Layout(RadRect)

Layouts in the specified rect.

Declaration
public void Layout(RadRect rect)
Parameters
RadRect rect

The rect.

OnAttached(UISparkElement)

Called when [attached].

Declaration
protected override void OnAttached(UISparkElement parent)
Parameters
UISparkElement parent

The parent.

Overrides
UISparkElement.OnAttached(UISparkElement)

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)

Fires the CreateRenderer event.

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 data error occurs.

Declaration
protected virtual void OnDataError(Exception exception)
Parameters
System.Exception exception

The exception.

OnGesture(GestureEventArgs)

Raises the Gesture event.

Declaration
protected virtual void OnGesture(GestureEventArgs e)
Parameters
GestureEventArgs e

The GestureEventArgs instance containing the event data.

OnKeyDown(KeyEventArgs)

Raises the KeyDown event.

Declaration
protected virtual void OnKeyDown(KeyEventArgs e)
Parameters
System.Windows.Forms.KeyEventArgs e

The System.Windows.Forms.KeyEventArgs instance containing the event data.

OnKeyPress(KeyPressEventArgs)

Raises the KeyPress event.

Declaration
protected virtual void OnKeyPress(KeyPressEventArgs e)
Parameters
System.Windows.Forms.KeyPressEventArgs e

The System.Windows.Forms.KeyPressEventArgs instance containing the event data.

OnKeyUp(KeyEventArgs)

Raises the KeyUp event.

Declaration
protected virtual void OnKeyUp(KeyEventArgs e)
Parameters
System.Windows.Forms.KeyEventArgs e

The System.Windows.Forms.KeyEventArgs instance containing the event data.

OnMouseCaptureChanged(EventArgs)

Raises the MouseCaptureChanged event.

Declaration
protected virtual void OnMouseCaptureChanged(EventArgs e)
Parameters
System.EventArgs e

The System.EventArgs instance containing the event data.

OnMouseClick(MouseEventArgs)

Raises the MouseClick event.

Declaration
protected virtual void OnMouseClick(MouseEventArgs e)
Parameters
System.Windows.Forms.MouseEventArgs e

The System.Windows.Forms.MouseEventArgs instance containing the event data.

OnMouseDoubleClick(MouseEventArgs)

Raises the MouseDoubleClick event.

Declaration
protected virtual void OnMouseDoubleClick(MouseEventArgs e)
Parameters
System.Windows.Forms.MouseEventArgs e

The System.Windows.Forms.MouseEventArgs instance containing the event data.

OnMouseDown(MouseEventArgs)

Raises the MouseDown event.

Declaration
protected virtual void OnMouseDown(MouseEventArgs e)
Parameters
System.Windows.Forms.MouseEventArgs e

The System.Windows.Forms.MouseEventArgs instance containing the event data.

OnMouseEnter(EventArgs)

Raises the MouseEnter event.

Declaration
protected virtual void OnMouseEnter(EventArgs e)
Parameters
System.EventArgs e

The System.EventArgs instance containing the event data.

OnMouseHover(EventArgs)

Raises the MouseHover event.

Declaration
protected virtual void OnMouseHover(EventArgs e)
Parameters
System.EventArgs e

The System.EventArgs instance containing the event data.

OnMouseLeave(EventArgs)

Raises the MouseLeave event.

Declaration
protected virtual void OnMouseLeave(EventArgs e)
Parameters
System.EventArgs e

The System.EventArgs instance containing the event data.

OnMouseMove(MouseEventArgs)

Raises the MouseMove event.

Declaration
protected virtual void OnMouseMove(MouseEventArgs e)
Parameters
System.Windows.Forms.MouseEventArgs e

The System.Windows.Forms.MouseEventArgs instance containing the event data.

OnMouseUp(MouseEventArgs)

Raises the MouseUp event.

Declaration
protected virtual void OnMouseUp(MouseEventArgs e)
Parameters
System.Windows.Forms.MouseEventArgs e

The System.Windows.Forms.MouseEventArgs instance containing the event data.

OnMouseWheel(MouseEventArgs)

Raises the MouseWheel event.

Declaration
protected virtual void OnMouseWheel(MouseEventArgs e)
Parameters
System.Windows.Forms.MouseEventArgs e

The System.Windows.Forms.MouseEventArgs instance containing the event data.

OnPanGesture(PanGestureEventArgs)

Raises the PanGesture event.

Declaration
protected virtual void OnPanGesture(PanGestureEventArgs e)
Parameters
PanGestureEventArgs e

The PanGestureEventArgs instance containing the event data.

OnPressAndTapGesture(PressAndTapGestureEventArgs)

Raises the PressAndTapGesture event.

Declaration
protected void OnPressAndTapGesture(PressAndTapGestureEventArgs e)
Parameters
PressAndTapGestureEventArgs e

The PressAndTapGestureEventArgs instance containing the event data.

OnPropertyChanged(RadPropertyChangedEventArgs)

Declaration
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Parameters
RadPropertyChangedEventArgs e

Overrides
UISparkElement.OnPropertyChanged(RadPropertyChangedEventArgs)

OnRotateGesture(RotateGestureEventArgs)

Raises the RotateGesture event.

Declaration
protected virtual void OnRotateGesture(RotateGestureEventArgs e)
Parameters
RotateGestureEventArgs e

The RotateGestureEventArgs instance containing the event data.

OnTwoFingerTapGesture(GestureEventArgs)

Raises the TwoFingerTapGesture event.

Declaration
protected virtual void OnTwoFingerTapGesture(GestureEventArgs e)
Parameters
GestureEventArgs e

The GestureEventArgs instance containing the event data.

OnZoomGesture(ZoomGestureEventArgs)

Raises the ZoomGesture event.

Declaration
protected virtual void OnZoomGesture(ZoomGestureEventArgs e)
Parameters
ZoomGestureEventArgs e

The ZoomGestureEventArgs instance containing the event data.

PerformRefresh(UISparkElement, Boolean)

Performs refreshing the view.

Declaration
public void PerformRefresh(UISparkElement element, bool updateLayout)
Parameters
UISparkElement element

The element.

System.Boolean updateLayout

The update layout.

ProcessResult(ActionResult)

Processes the result.

Declaration
protected virtual bool ProcessResult(ActionResult actionResult)
Parameters
ActionResult actionResult

The action result.

Returns
System.Boolean

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
SparklineCreatePointEventHandler

CreateRenderer

Fired when the area requires 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

Explicit Interface Implementations

ISparkElementPresenter.IsVisible

Declaration
bool ISparkElementPresenter.IsVisible { get; }
Returns
System.Boolean

Implements
ISparkElementPresenter.IsVisible

ISparkElementPresenter.MeasureContent(SparkNode, Object)

Declaration
RadSize ISparkElementPresenter.MeasureContent(SparkNode owner, object content)
Parameters
SparkNode owner

System.Object content

Returns
RadSize

Implements
ISparkElementPresenter.MeasureContent(SparkNode, Object)

ISparkElementPresenter.RefreshNode(SparkNode)

Declaration
void ISparkElementPresenter.RefreshNode(SparkNode node)
Parameters
SparkNode node

Implements
ISparkElementPresenter.RefreshNode(SparkNode)

ISparkView.PlotAreaClip

Declaration
RadRect ISparkView.PlotAreaClip { get; }
Returns
RadRect

Implements
ISparkView.PlotAreaClip

ISparkView.ViewportHeight

Declaration
double ISparkView.ViewportHeight { get; }
Returns
System.Double

Implements
ISparkView.ViewportHeight

ISparkView.ViewportWidth

Declaration
double ISparkView.ViewportWidth { get; }
Returns
System.Double

Implements
ISparkView.ViewportWidth

Extension Methods

CommonExtensions.ClearIfNoBindingAndSet(RadObject, RadProperty)
DispatcherExtensions.CheckAccess(RadObject)
CommonExtensions.SetIfDifferent(RadObject, RadProperty, Object)
CommonExtensions.ClearIfSet(RadObject, RadProperty)
CommonExtensions.IsLocalValueSet(RadObject, RadProperty)
DispatcherExtensions.CheckAccess(RadObject)
DispatcherExtensions.CheckAccess(RadObject)
DispatcherExtensions.CheckAccess(RadObject)
SvgExtentions.Traverse<T>(T, Func<T, IEnumerable<T>>)
SvgExtentions.TraverseDepthFirst<T>(T, Func<T, IEnumerable<T>>)

Was this article helpful?

 / 
Tell us how we can improve this article
Skip
Getting Started
  • Install Now
  • Demos
  • Step-by-Step Tutorial
  • Sample Applications
  • SDK Samples
  • Visual Studio Extensions
Support Resources
  • Code Library
  • Knowledge Base
  • Videos
Community
  • Forums
  • Blogs
  • Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.