ClassStyleLabel
Base label appearance style
Definition
Namespace:Telerik.Charting.Styles
Assembly:Telerik.WinControls.RadChart.dll
Syntax:
[TypeConverter(typeof(ExpandableObjectConverter))]
public class StyleLabel : LayoutStyle, IChartingStateManagedItem, IChartingStateManager, ICloneable
Inheritance: objectStateManagedObjectStyleLayoutStyleStyleLabel
Derived Classes:
Implements:
Inherited Members
Constructors
StyleLabel()
Creates new instance of StyleLabel class.
Declaration
public StyleLabel()
StyleLabel(FillStyle)
Creates new instance of StyleLabel class.
Declaration
public StyleLabel(FillStyle fillStyle)
Parameters
fillStyle
FillStyle of label
StyleLabel(FillStyle, Corners, Position, Dimensions)
Creates new instance of StyleLabel class.
Declaration
public StyleLabel(FillStyle fillStyle, Corners corners, Position position, Dimensions dimensions)
Parameters
fillStyle
FillStyle of label
corners
Corners of label
position
Label's position
dimensions
Label's dimensions
StyleLabel(FillStyle, Position)
Creates new instance of StyleLabel class.
StyleLabel(FillStyle, Position, Dimensions)
Creates new instance of StyleLabel class.
Declaration
public StyleLabel(FillStyle fillStyle, Position position, Dimensions dimensions)
Parameters
fillStyle
FillStyle of label
position
Label's position
dimensions
Label's dimensions
StyleLabel(LabelItemsCompositionTypes, Dimensions, string, FillStyle, Position, float, Corners, StyleBorder, ShadowStyle, bool)
Creates new instance of StyleLabel class.
Declaration
public StyleLabel(LabelItemsCompositionTypes compositionType, Dimensions dimensions, string figure, FillStyle fillStyle, Position position, float rotationAngle, Corners corners, StyleBorder border, ShadowStyle shadowStyle, bool visible)
Parameters
compositionType
CompositionType to specify textblock and marker positions
dimensions
Label's dimensions
figure
Label's figure
fillStyle
FillStyle of label
position
Label's position
rotationAngle
Rotation angle
corners
Corners of label
border
Label's border
shadowStyle
Shadow style of label
visible
Label's visibility
StyleLabel(Position)
Creates new instance of StyleLabel class.
Declaration
public StyleLabel(Position position)
Parameters
position
Label's position
StyleLabel(object)
Creates new instance of StyleLabel class.
Declaration
public StyleLabel(object containerObject)
Parameters
containerObject
Style container element
Fields
styleLabelCorners
Specifies the corners for background rectangle
Properties
CompositionType
Specifies the label's items composition type
Declaration
[SkinnableProperty]
public virtual LabelItemsCompositionTypes CompositionType { get; set; }
Property Value
Corners
Specifies the corners for background rectangle
Declaration
[TypeConverter(typeof(CornersConverter))]
[SkinnableProperty]
public Corners Corners { get; set; }
Property Value
Figure
Specifies the figure property
Declaration
[SkinnableProperty]
public virtual string Figure { get; set; }
Property Value
FillStyle
Specifies the background property
Declaration
[TypeConverter(typeof(ExpandableObjectConverter))]
[Browsable(true)]
[SkinnableProperty]
public virtual FillStyle FillStyle { get; }
Property Value
RotationAngle
Specifies the rotation angle property
Declaration
[Browsable(true)]
[SkinnableProperty]
public virtual float RotationAngle { get; set; }
Property Value
Methods
Clone()
Clone this object
LoadViewState(object)
Load data from ViewState
Declaration
protected override void LoadViewState(object savedState)
Parameters
savedState
ViewState with data
Overrides
SaveViewState()
Save data to ViewState
Declaration
protected override object SaveViewState()
Returns
Saved data
Overrides
TrackViewState()
Track ViewState
Declaration
protected override void TrackViewState()
Overrides