LabelElement
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
Initializes a new instance of the LabelElement class.
public LabelElement(DataPointElement dataPointElement)
The data point element.
Fields
public static readonly RadProperty LineSideProperty
Properties
Gets the data point.
public DataPoint DataPoint { get; }
The data point.
Gets the data point element.
public DataPointElement DataPointElement { get; }
The data point element.
Gets or sets the line side.
public LineSide LineSide { get; set; }
The line side.
Gets or sets the smart rectangle.
public virtual Rectangle SmartRectangle { get; set; }
The smart rectangle.
Gets or sets the text alignment.
public ContentAlignment TextAlignment { get; set; }
The text alignment.
Methods
Gets the content of the formatted label.
Gets the layout slot.
Called when [attached].
protected override void OnAttached(UIChartElement parent)
The parent.
Overrides:
Raises the event.
public void OnLabelFormatting(ChartViewLabelFormattingEventArgs e)
The ChartViewLabelFormattingEventArgs instance containing the event data.
Raises the RadPropertyChanged event and the standard .NET PropertyChanged event to notify subscribers of property value changes.
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
The RadPropertyChangedEventArgs containing information about the property change.
Overrides: