StyleLabel
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
Creates new instance of StyleLabel class.
public StyleLabel()
Creates new instance of StyleLabel class.
public StyleLabel(FillStyle fillStyle, Corners corners, Position position, Dimensions dimensions)
FillStyle of label
cornersCornersCorners of label
positionPositionLabel's position
dimensionsDimensionsLabel's dimensions
Creates new instance of StyleLabel class.
public StyleLabel(FillStyle fillStyle, Position position, Dimensions dimensions)
FillStyle of label
positionPositionLabel's position
dimensionsDimensionsLabel's dimensions
Creates new instance of StyleLabel class.
Creates new instance of StyleLabel class.
public StyleLabel(LabelItemsCompositionTypes compositionType, Dimensions dimensions, string figure, FillStyle fillStyle, Position position, float rotationAngle, Corners corners, StyleBorder border, ShadowStyle shadowStyle, bool visible)
CompositionType to specify textblock and marker positions
dimensionsDimensionsLabel's dimensions
figurestringLabel's figure
fillStyleFillStyleFillStyle of label
positionPositionLabel's position
rotationAnglefloatRotation angle
cornersCornersCorners of label
borderStyleBorderLabel's border
shadowStyleShadowStyleShadow style of label
visibleboolLabel's visibility
Creates new instance of StyleLabel class.
public StyleLabel(object containerObject)
Style container element
Creates new instance of StyleLabel class.
Fields
Specifies the corners for background rectangle
protected Corners styleLabelCorners
Properties
Specifies the label's items composition type
[SkinnableProperty]
public virtual LabelItemsCompositionTypes CompositionType { get; set; }
Specifies the corners for background rectangle
[TypeConverter(typeof(CornersConverter))]
[SkinnableProperty]
public Corners Corners { get; set; }
Specifies the figure property
[SkinnableProperty]
public virtual string Figure { get; set; }
Specifies the background property
[TypeConverter(typeof(ExpandableObjectConverter))]
[Browsable(true)]
[SkinnableProperty]
public virtual FillStyle FillStyle { get; }
Specifies the rotation angle property
[Browsable(true)]
[SkinnableProperty]
public virtual float RotationAngle { get; set; }
Methods
Load data from ViewState
protected override void LoadViewState(object savedState)
ViewState with data
Overrides:
Save data to ViewState
Track ViewState
protected override void TrackViewState()
Overrides: