Class BaseChartItem2D
Represents the base class for all 2D chart items.
Inherited Members
Namespace: Telerik.Windows.Controls.Charting
Assembly: Telerik.Windows.Controls.Charting.dll
Syntax
public abstract class BaseChartItem2D : BaseChartItem, IChartItem, ILogicalItem, IAnimatable, IInteractiveElement
Constructors
BaseChartItem2D()
Fields
ItemActualHeightProperty
Identifies the ItemActualHeight dependency property.
Declaration
public static readonly DependencyProperty ItemActualHeightProperty
Field Value
System.Windows.DependencyProperty
|
ItemActualWidthProperty
Identifies the ItemActualWidth dependency property.
Declaration
public static readonly DependencyProperty ItemActualWidthProperty
Field Value
System.Windows.DependencyProperty
|
Properties
DefiningGeometry
Gets or sets the defining geometry of this item.
Declaration
protected DependencyObject DefiningGeometry { get; set; }
Property Value
System.Windows.DependencyObject
The defining geometry. |
ItemActualHeight
Gets or sets the height of the area rectangle.
Declaration
public double ItemActualHeight { get; set; }
Property Value
System.Double
The height of the area rectangle. |
ItemActualWidth
Gets or sets the width of the area rectangle.
Declaration
public double ItemActualWidth { get; set; }
Property Value
System.Double
The width of the area rectangle. |
Methods
ArrangeOverride(Size)
Called to arrange and size the content of a System.Windows.Controls.Control object.
Declaration
protected override Size ArrangeOverride(Size finalSize)
Parameters
System.Windows.Size
finalSize
The computed size that is used to arrange the content. |
Returns
System.Windows.Size
The size of the control. |
DataPointPropertyChanged(Object, PropertyChangedEventArgs)
This method is called whenever the PropertyChanged event of the DataPoint occurs.
Declaration
protected override void DataPointPropertyChanged(object sender, PropertyChangedEventArgs e)
Parameters
System.Object
sender
The sender. |
System.ComponentModel.PropertyChangedEventArgs
e
The System.ComponentModel.PropertyChangedEventArgs instance containing the event data. |
Overrides
OnApplyTemplate()
When overridden in a derived class, is invoked whenever application code or internal processes call System.Windows.FrameworkElement.ApplyTemplate.
Declaration
public override void OnApplyTemplate()
Overrides
OnDataSeriesDefinitionChanged(Object, PropertyChangedEventArgs)
Called when DataSeries Definition is changed.
Declaration
protected override void OnDataSeriesDefinitionChanged(object sender, PropertyChangedEventArgs e)
Parameters
System.Object
sender
The sender. |
System.ComponentModel.PropertyChangedEventArgs
e
The System.ComponentModel.PropertyChangedEventArgs instance containing the event data. |
Overrides
OnLabelSettingsPropertyChanged(Object, PropertyChangedEventArgs)
Called when the label settings property is changed.
Declaration
protected override void OnLabelSettingsPropertyChanged(object sender, PropertyChangedEventArgs args)
Parameters
System.Object
sender
The sender. |
System.ComponentModel.PropertyChangedEventArgs
args
The System.ComponentModel.PropertyChangedEventArgs instance containing the event data. |
Overrides
OnMouseEnter(MouseEventArgs)
Called before the System.Windows.UIElement.MouseEnter event occurs.
Declaration
protected override void OnMouseEnter(MouseEventArgs e)
Parameters
System.Windows.Input.MouseEventArgs
e
The data for the event. |
OnMouseLeave(MouseEventArgs)
Called before the System.Windows.UIElement.MouseLeave event occurs.
Declaration
protected override void OnMouseLeave(MouseEventArgs e)
Parameters
System.Windows.Input.MouseEventArgs
e
The data for the event. |
OnMouseLeftButtonDown(MouseButtonEventArgs)
Called before the System.Windows.UIElement.MouseLeftButtonDown event occurs.
Declaration
protected override void OnMouseLeftButtonDown(MouseButtonEventArgs e)
Parameters
System.Windows.Input.MouseButtonEventArgs
e
The data for the event. |
RaiseSelectionChangeNotification()
Called when the chart item is clicked.
Declaration
protected virtual void RaiseSelectionChangeNotification()
UpdateDefiningGeometry()
Updates the defining geometry.
Declaration
protected virtual void UpdateDefiningGeometry()
UpdateTemplateElements()
This method is called when the child elements from template should be updated.
Declaration
protected virtual void UpdateTemplateElements()