ClassAxisLabelElement
Class
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.ChartView.dll
Syntax:
cs-api-definition
public class AxisLabelElement : ChartImageElement, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, IChartElementPresenter, IStylableElement, IStylableNode, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IShapedElement, IImageElement
Inheritance: objectDisposableObjectRadObjectUIChartElementChartImageElementAxisLabelElement
Implements:
Inherited Members
Constructors
AxisLabelElement(AxisLabelModel)
Initializes a new instance of the AxisLabelElement class.
Declaration
cs-api-definition
public AxisLabelElement(AxisLabelModel label)
Parameters
label
The label.
Fields
PositionOffsetProperty
Declaration
cs-api-definition
public static readonly RadProperty PositionOffsetProperty
Field Value
Properties
PositionOffset
Gets or sets the position offset.
Declaration
cs-api-definition
public PointF PositionOffset { get; set; }
Property Value
The position offset.
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
cs-api-definition
protected override void OnAttached(UIChartElement parent)
Parameters
parent
The parent.
Overrides
OnAxisLabelFormatting(ChartAxisLabelFormattingEventArgs)
Raises the event.
Declaration
cs-api-definition
public void OnAxisLabelFormatting(ChartAxisLabelFormattingEventArgs e)
Parameters
e
ChartAxisLabelFormattingEventArgs
The ChartAxisLabelFormattingEventArgs instance containing the event data.