ClassLabelElement
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.ChartView.dll
Syntax:
public class LabelElement : ChartImageElement, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, IChartElementPresenter, IStylableElement, IStylableNode, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IShapedElement, IImageElement
Inheritance: objectDisposableObjectRadObjectUIChartElementChartImageElementLabelElement
Derived Classes:
Implements:
Inherited Members
Constructors
LabelElement(DataPointElement)
Initializes a new instance of the LabelElement class.
Declaration
public LabelElement(DataPointElement dataPointElement)
Parameters
dataPointElement
The data point element.
Fields
LineSideProperty
Declaration
public static readonly RadProperty LineSideProperty
Field Value
Properties
DataPoint
Gets the data point.
Declaration
public DataPoint DataPoint { get; }
Property Value
The data point.
DataPointElement
Gets the data point element.
Declaration
public DataPointElement DataPointElement { get; }
Property Value
The data point element.
LineSide
Gets or sets the line side.
Declaration
public LineSide LineSide { get; set; }
Property Value
The line side.
SmartRectangle
Gets or sets the smart rectangle.
Declaration
public virtual Rectangle SmartRectangle { get; set; }
Property Value
The smart rectangle.
Text
Gets or sets the text.
TextAlignment
Gets or sets the text alignment.
Declaration
public ContentAlignment TextAlignment { get; set; }
Property Value
The text alignment.
Methods
GetFormattedLabelContent()
Gets the content of the formatted label.
GetLayoutSlot()
Gets the layout slot.
MeasureLabel(string, Font)
Measures the label.
OnAttached(UIChartElement)
Called when [attached].
Declaration
protected override void OnAttached(UIChartElement parent)
Parameters
parent
The parent.
Overrides
OnLabelFormatting(ChartViewLabelFormattingEventArgs)
Raises the event.
Declaration
public void OnLabelFormatting(ChartViewLabelFormattingEventArgs e)
Parameters
e
ChartViewLabelFormattingEventArgs
The ChartViewLabelFormattingEventArgs instance containing the event data.
OnPropertyChanged(RadPropertyChangedEventArgs)
Raises the RadPropertyChanged event and the standard .NET PropertyChanged event to notify subscribers of property value changes.
Declaration
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Parameters
e
The RadPropertyChangedEventArgs containing information about the property change.
Overrides