New to Telerik ReportingStart a free 30-day trial

Base label appearance style

Definition

Namespace:Telerik.Reporting.Charting.Styles

Assembly:Telerik.Reporting.dll

Syntax:

C#
[TypeConverter(typeof(ExpandableObjectConverter))]
public class StyleLabel : LayoutStyle, IChartingStateManagedItem, IChartingStateManager

Inheritance: objectStateManagedObjectStyleLayoutStyleStyleLabel

Derived Classes: StyleExtendedLabelStyleLabelEmptySeriesMessageStyleLabelHiddenStyleLabelTitleStyleSeriesItemLabel

Implements: IChartingStateManagedItemIChartingStateManager

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

Constructors

Creates new instance of StyleLabel class.

C#
public StyleLabel()

Creates new instance of StyleLabel class.

C#
public StyleLabel(FillStyle fillStyle, Corners corners, Position position, Dimensions dimensions)
Parameters:fillStyleFillStyle

FillStyle of label

cornersCorners

Corners of label

positionPosition

Label's position

dimensionsDimensions

Label's dimensions

Creates new instance of StyleLabel class.

C#
public StyleLabel(FillStyle fillStyle, Position position, Dimensions dimensions)
Parameters:fillStyleFillStyle

FillStyle of label

positionPosition

Label's position

dimensionsDimensions

Label's dimensions

Creates new instance of StyleLabel class.

C#
public StyleLabel(FillStyle fillStyle, Position position)
Parameters:fillStyleFillStyle

FillStyle of label

positionPosition

Label's position

Creates new instance of StyleLabel class.

C#
public StyleLabel(FillStyle fillStyle)
Parameters:fillStyleFillStyle

FillStyle of label

Creates new instance of StyleLabel class.

C#
public StyleLabel(LabelItemsCompositionTypes compositionType, Dimensions dimensions, string figure, FillStyle fillStyle, Position position, float rotationAngle, Corners corners, StyleBorder border, ShadowStyle shadowStyle, bool visible)
Parameters:compositionTypeLabelItemsCompositionTypes

CompositionType to specify textblock and marker positions

dimensionsDimensions

Label's dimensions

figurestring

Label's figure

fillStyleFillStyle

FillStyle of label

positionPosition

Label's position

rotationAnglefloat

Rotation angle

cornersCorners

Corners of label

borderStyleBorder

Label's border

shadowStyleShadowStyle

Shadow style of label

visiblebool

Label's visibility

Creates new instance of StyleLabel class.

C#
public StyleLabel(object containerObject)
Parameters:containerObjectobject

Style container element

Creates new instance of StyleLabel class.

C#
public StyleLabel(Position position)
Parameters:positionPosition

Label's position

Fields

Specifies the corners for background rectangle

C#
protected Corners styleLabelCorners

Properties

Specifies the label's items composition type

C#
[SkinnableProperty]
public virtual LabelItemsCompositionTypes CompositionType { get; set; }

Specifies the corners for background rectangle

C#
[TypeConverter(typeof(CornersConverter))]
[SkinnableProperty]
public Corners Corners { get; set; }

Figure

string

Specifies the figure property

C#
[SkinnableProperty]
public virtual string Figure { get; set; }

Specifies the background property

C#
[TypeConverter(typeof(ExpandableObjectConverter))]
[Browsable(true)]
[PersistenceMode(PersistenceMode.InnerProperty)]
[SkinnableProperty]
public virtual FillStyle FillStyle { get; }

Specifies the rotation angle property

C#
[Browsable(true)]
[SkinnableProperty]
public virtual float RotationAngle { get; set; }

Specifies tha label's visibility

C#
public override bool Visible { get; set; }

Overrides: Style.Visible

Methods

Clone()

object

Clone this object

C#
public override object Clone()
Returns:

object

Cloned object

Overrides: Style.Clone()

Releases unmanaged and - optionally - managed resources

C#
protected override void Dispose(bool disposing)
Parameters:disposingbool

true to release both managed and unmanaged resources; false to release only unmanaged resources.

Overrides: LayoutStyle.Dispose(bool)

Load data from ViewState

C#
protected override void LoadViewState(object savedState)
Parameters:savedStateobject

ViewState with data

Overrides: LayoutStyle.LoadViewState(object)

Save data to ViewState

C#
protected override object SaveViewState()
Returns:

object

Saved data

Overrides: LayoutStyle.SaveViewState()

Track ViewState

C#
protected override void TrackViewState()

Overrides: LayoutStyle.TrackViewState()