Class
SparkAnnotation

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

cs-api-definition
public abstract class SparkAnnotation : UISparkElement, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, ISparkElementPresenter, IStylableElement, IStylableNode, IShapedElement

Inheritance: objectDisposableObjectRadObjectUISparkElementSparkAnnotation

Derived Classes: CartesianSparkAnnotation

Implements: ICustomTypeDescriptorIDisposableINotifyPropertyChangedIShapedElementISparkElementPresenterIStylableElementIStylableNode

Inherited Members UISparkElement.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

SparkAnnotation()

Initializes a new instance of the SparkAnnotation class.

Declaration

cs-api-definition
public SparkAnnotation()

Fields

ClipToPlotAreaProperty

Declaration

cs-api-definition
public static readonly RadProperty ClipToPlotAreaProperty

Field Value

RadProperty

DrawModeProperty

Declaration

cs-api-definition
public static readonly RadProperty DrawModeProperty

Field Value

RadProperty

PositionOffsetProperty

Declaration

cs-api-definition
public static readonly RadProperty PositionOffsetProperty

Field Value

RadProperty

Properties

ClipToPlotArea

Gets or sets a value indicating whether this instance will be clipped to the bounds of the plot area.

Declaration

cs-api-definition
public bool ClipToPlotArea { get; set; }

Property Value

bool

DrawMode

Gets or sets a value indicating the position of the annotation in the chart draw stack.

Declaration

cs-api-definition
public AnnotationDrawMode DrawMode { get; set; }

Property Value

AnnotationDrawMode

PositonOffset

Gets or sets the offset of the label of the annotations in pixels.

Declaration

cs-api-definition
public SizeF PositonOffset { get; set; }

Property Value

SizeF

Methods

OnAttached(UISparkElement)

Occurs when the annotation has been successfully attached to its owning SparkView instance.

Declaration

cs-api-definition
protected override void OnAttached(UISparkElement parent)

Parameters

parent

UISparkElement

Overrides UISparkElement.OnAttached(UISparkElement)

OnDettached()

Occurs when the annotation has been successfully detached from its owning SparkView instance.

Declaration

cs-api-definition
protected override void OnDettached()

Overrides UISparkElement.OnDettached()

OnPropertyChanged(RadPropertyChangedEventArgs)

Raises the RadPropertyChanged event and the standard .NET PropertyChanged event to notify subscribers of property value changes.

Declaration

cs-api-definition
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)

Parameters

e

RadPropertyChangedEventArgs

The RadPropertyChangedEventArgs containing information about the property change.

Overrides UISparkElement.OnPropertyChanged(RadPropertyChangedEventArgs)