Class AxisLabelElement
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.ChartView.dll
Syntax
public class AxisLabelElement : ChartImageElement, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, IChartElementPresenter, IStylableElement, IStylableNode, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IShapedElement, IImageElement
Constructors
AxisLabelElement(AxisLabelModel)
Initializes a new instance of the AxisLabelElement class.
Declaration
public AxisLabelElement(AxisLabelModel label)
Parameters
AxisLabelModel
label
The label. |
Fields
PositionOffsetProperty
Properties
PositionOffset
Gets or sets the position offset.
Declaration
public PointF PositionOffset { get; set; }
Property Value
System.Drawing.PointF
The position offset. |
Text
Gets or sets the text.
Declaration
public string Text { get; set; }
Property Value
System.String
The text. |
Methods
GetFormattedLabelContent()
Gets the content of the formatted label.
Declaration
protected string GetFormattedLabelContent()
Returns
System.String
|
GetLayoutSlot()
MeasureLabel(String, Font)
Measures the label.
Declaration
protected SizeF MeasureLabel(string text, Font font)
Parameters
System.String
text
The text. |
System.Drawing.Font
font
The font. |
Returns
System.Drawing.SizeF
|
OnAttached(UIChartElement)
Called when [attached].
Declaration
protected override void OnAttached(UIChartElement parent)
Parameters
UIChartElement
parent
The parent. |
Overrides
OnAxisLabelFormatting(ChartAxisLabelFormattingEventArgs)
Raises the AxisLabelFormatting event.
Declaration
public void OnAxisLabelFormatting(ChartAxisLabelFormattingEventArgs e)
Parameters
ChartAxisLabelFormattingEventArgs
e
The ChartAxisLabelFormattingEventArgs instance containing the event data. |