Class
StyleLabel

Base label appearance style

Definition

Namespace:Telerik.Charting.Styles

Assembly:Telerik.WinControls.RadChart.dll

Syntax:

cs-api-definition
[TypeConverter(typeof(ExpandableObjectConverter))]
public class StyleLabel : LayoutStyle, IChartingStateManagedItem, IChartingStateManager, ICloneable

Inheritance: objectStateManagedObjectStyleLayoutStyleStyleLabel

Derived Classes: StyleExtendedLabelStyleLabelEmptySeriesMessageStyleLabelHiddenStyleLabelTitleStyleSeriesItemLabel

Implements: IChartingStateManagedItemIChartingStateManagerICloneable

Inherited Members LayoutStyle.PositionLayoutStyle.DimensionsStyle.BorderStyle.ShadowStateManagedObject.CloneState()StateManagedObject.SetDirty()StateManagedObject.ViewStateIgnoresCase

Constructors

StyleLabel()

Creates new instance of StyleLabel class.

Declaration

cs-api-definition
public StyleLabel()

StyleLabel(FillStyle)

Creates new instance of StyleLabel class.

Declaration

cs-api-definition
public StyleLabel(FillStyle fillStyle)

Parameters

fillStyle

FillStyle

FillStyle of label

StyleLabel(FillStyle, Corners, Position, Dimensions)

Creates new instance of StyleLabel class.

Declaration

cs-api-definition
public StyleLabel(FillStyle fillStyle, Corners corners, Position position, Dimensions dimensions)

Parameters

fillStyle

FillStyle

FillStyle of label

corners

Corners

Corners of label

position

Position

Label's position

dimensions

Dimensions

Label's dimensions

StyleLabel(FillStyle, Position)

Creates new instance of StyleLabel class.

Declaration

cs-api-definition
public StyleLabel(FillStyle fillStyle, Position position)

Parameters

fillStyle

FillStyle

FillStyle of label

position

Position

Label's position

StyleLabel(FillStyle, Position, Dimensions)

Creates new instance of StyleLabel class.

Declaration

cs-api-definition
public StyleLabel(FillStyle fillStyle, Position position, Dimensions dimensions)

Parameters

fillStyle

FillStyle

FillStyle of label

position

Position

Label's position

dimensions

Dimensions

Label's dimensions

StyleLabel(LabelItemsCompositionTypes, Dimensions, string, FillStyle, Position, float, Corners, StyleBorder, ShadowStyle, bool)

Creates new instance of StyleLabel class.

Declaration

cs-api-definition
public StyleLabel(LabelItemsCompositionTypes compositionType, Dimensions dimensions, string figure, FillStyle fillStyle, Position position, float rotationAngle, Corners corners, StyleBorder border, ShadowStyle shadowStyle, bool visible)

Parameters

compositionType

LabelItemsCompositionTypes

CompositionType to specify textblock and marker positions

dimensions

Dimensions

Label's dimensions

figure

string

Label's figure

fillStyle

FillStyle

FillStyle of label

position

Position

Label's position

rotationAngle

float

Rotation angle

corners

Corners

Corners of label

border

StyleBorder

Label's border

shadowStyle

ShadowStyle

Shadow style of label

visible

bool

Label's visibility

StyleLabel(Position)

Creates new instance of StyleLabel class.

Declaration

cs-api-definition
public StyleLabel(Position position)

Parameters

position

Position

Label's position

StyleLabel(object)

Creates new instance of StyleLabel class.

Declaration

cs-api-definition
public StyleLabel(object containerObject)

Parameters

containerObject

object

Style container element

Fields

styleLabelCorners

Specifies the corners for background rectangle

Declaration

cs-api-definition
protected Corners styleLabelCorners

Field Value

Corners

Properties

CompositionType

Specifies the label's items composition type

Declaration

cs-api-definition
[SkinnableProperty]
public virtual LabelItemsCompositionTypes CompositionType { get; set; }

Property Value

LabelItemsCompositionTypes

Corners

Specifies the corners for background rectangle

Declaration

cs-api-definition
[TypeConverter(typeof(CornersConverter))]
[SkinnableProperty]
public Corners Corners { get; set; }

Property Value

Corners

Figure

Specifies the figure property

Declaration

cs-api-definition
[SkinnableProperty]
public virtual string Figure { get; set; }

Property Value

string

FillStyle

Specifies the background property

Declaration

cs-api-definition
[TypeConverter(typeof(ExpandableObjectConverter))]
[Browsable(true)]
[SkinnableProperty]
public virtual FillStyle FillStyle { get; }

Property Value

FillStyle

RotationAngle

Specifies the rotation angle property

Declaration

cs-api-definition
[Browsable(true)]
[SkinnableProperty]
public virtual float RotationAngle { get; set; }

Property Value

float

Visible

Specifies tha label's visibility

Declaration

cs-api-definition
public override bool Visible { get; set; }

Property Value

bool

Overrides Style.Visible

Methods

Clone()

Clone this object

Declaration

cs-api-definition
public override object Clone()

Returns

object

Cloned object

Overrides Style.Clone()

LoadViewState(object)

Load data from ViewState

Declaration

cs-api-definition
protected override void LoadViewState(object savedState)

Parameters

savedState

object

ViewState with data

Overrides LayoutStyle.LoadViewState(object)

SaveViewState()

Save data to ViewState

Declaration

cs-api-definition
protected override object SaveViewState()

Returns

object

Saved data

Overrides LayoutStyle.SaveViewState()

TrackViewState()

Track ViewState

Declaration

cs-api-definition
protected override void TrackViewState()

Overrides LayoutStyle.TrackViewState()