New to Telerik UI for WinForms? Start a free 30-day trial

Allows you to place a straight line at a specific place in your cartesian sparkline.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class CartesianSparkGridLineAnnotation : CartesianSparkAnnotation, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, ISparkElementPresenter, IStylableElement, IStylableNode, IShapedElement

Inheritance: objectDisposableObjectRadObjectUISparkElementSparkAnnotationCartesianSparkAnnotationCartesianSparkGridLineAnnotation...

Implements: ICustomTypeDescriptorIDisposableINotifyPropertyChangedIShapedElementISparkElementPresenterIStylableElementIStylableNode...

Inherited Members SparkAnnotation.ClipToPlotAreaPropertySparkAnnotation.DrawModePropertySparkAnnotation.PositionOffsetPropertySparkAnnotation.OnPropertyChanged(RadPropertyChangedEventArgs)SparkAnnotation.OnAttached(UISparkElement)SparkAnnotation.OnDettached()SparkAnnotation.ClipToPlotAreaSparkAnnotation.DrawModeSparkAnnotation.PositonOffsetUISparkElement.IsVisiblePropertyUISparkElement.ClassPropertyUISparkElement.VisualStatePropertyUISparkElement.IsMouseDownPropertyUISparkElement.IsMouseOverPropertyUISparkElement.FontPropertyUISparkElement.CustomFontPropertyUISparkElement.CustomFontSizePropertyUISparkElement.CustomFontStylePropertyUISparkElement.ForeColorPropertyUISparkElement.BackColorPropertyUISparkElement.BorderWidthPropertyUISparkElement.BorderColorPropertyUISparkElement.BorderDashStylePropertyUISparkElement.ShapePropertyUISparkElement.SmoothingModePropertyUISparkElement.GetValue(RadProperty)UISparkElement.Attach(UISparkElement)UISparkElement.Dettach()UISparkElement.Refresh()UISparkElement.Invalidate()UISparkElement.MeasureContentOverride(SparkNode, object)UISparkElement.DpiScaleChanged(SizeF)UISparkElement.GetScaledFont(float)UISparkElement.GetCurrentShape()UISparkElement.GetThemeEffectiveType()UISparkElement.ApplyStyleSettingsCore(PropertySettingGroup)UISparkElement.ApplyStyle()UISparkElement.BuildVisualState()UISparkElement.AddStylePropertySetting(IPropertySetting)UISparkElement.ApplyStyleByIndex(PropertySettingGroup, int)UISparkElement.ParentUISparkElement.LevelUISparkElement.ChildrenUISparkElement.IsMouseDownUISparkElement.IsMouseOverUISparkElement.ViewUISparkElement.IsVisibleUISparkElement.ForeColorUISparkElement.FontUISparkElement.BackColorUISparkElement.BorderWidthUISparkElement.BorderColorUISparkElement.BorderDashStyleUISparkElement.ShapeUISparkElement.SmoothingModeUISparkElement.IsAttachedUISparkElement.DpiScaleFactorUISparkElement.ClassUISparkElement.VisualStateUISparkElement.ThemeRoleUISparkElement.ChildrenHierarchyUISparkElement.StyleUISparkElement.StateManagerUISparkElement.FallbackToDefaultThemeRadObject.BindingContextPropertyRadObject.RadTypeRadObject.ReplaceDefaultDescriptors(PropertyDescriptorCollection)RadObject.DisposeManagedResources()RadObject.ClearPropertyStore()RadObject.SuspendPropertyNotifications()RadObject.ResumePropertyNotifications()RadObject.GetPropertyValue(RadProperty)RadObject.SetDefaultValueOverride(RadProperty, object)RadObject.SetValue(RadProperty, object)RadObject.ResetValue(RadProperty)RadObject.ResetLocalValue(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(RadProperty)RadObject.CanRaisePropertyChangeNotifications(RadPropertyValue)RadObject.BindProperty(RadProperty, RadObject, RadProperty, PropertyBindingOptions)RadObject.UnbindProperty(RadProperty)RadObject.GetInheritedValue(RadProperty)RadObject.OnPropertyChanging(RadPropertyChangingEventArgs)RadObject.OnNotifyPropertyChanged(string)RadObject.OnNotifyPropertyChanged(PropertyChangedEventArgs)RadObject.OnShouldSerializeProperty(ShouldSerializePropertyEventArgs)RadObject.IsPropertyCancelable(RadPropertyMetadata)RadObject.PropertyValuesRadObject.PropertyFilterRadObject.RadObjectTypeRadObject.BindingContextRadObject.PropertyChangedRadObject.RadPropertyChangedRadObject.RadPropertyChangingDisposableObject.GetBitState(long)DisposableObject.SetBitState(long, bool)DisposableObject.OnBitStateChanged(long, bool, bool)DisposableObject.Dispose()DisposableObject.Dispose(bool)DisposableObject.PerformDispose(bool)DisposableObject.DisposeUnmanagedResources()DisposableObject.BitStateDisposableObject.EventsDisposableObject.IsDisposingDisposableObject.IsDisposedDisposableObject.DisposedDisposableObject.Disposing...

Constructors

Initializes a new instance of the CartesianSparkGridLineAnnotation class.

C#
public CartesianSparkGridLineAnnotation()

Initializes a new instance of the CartesianSparkGridLineAnnotation class.

C#
public CartesianSparkGridLineAnnotation(SparkCartesianAxis axis, object value)
Parameters:axisSparkCartesianAxis

The axis against which the annotation will be ploted.

valueobject

The value on the axis where the annotation will be plotted.

Fields

Identifies the axis used to position the grid line.

C#
public static readonly RadProperty AxisProperty

Identifies the text displayed beside the grid line.

C#
public static readonly RadProperty LabelProperty

Identifies the value on Axis where the grid line is placed.

C#
public static readonly RadProperty ValueProperty

Properties

Gets or sets the axis.

C#
public SparkCartesianAxis Axis { get; set; }
Property Value:

The axis.

Gets or sets the label.

C#
public string Label { get; set; }
Property Value:

The label.

Gets or sets the value.

C#
public object Value { get; set; }
Property Value:

The value.