Class StyleTextBlock
Text block appearance
Inherited Members
Namespace: Telerik.Charting.Styles
Assembly: Telerik.WinControls.RadChart.dll
Syntax
public class StyleTextBlock : LayoutStyle, IChartingStateManagedItem, IChartingStateManager, ICloneable, IPosition
Constructors
StyleTextBlock()
Creates a new class instance
Declaration
public StyleTextBlock()
StyleTextBlock(Dimensions, FillStyle, Position, Single, TextProperties, Corners, StyleBorder, ShadowStyle, Boolean)
Creates a new class instance
Declaration
public StyleTextBlock(Dimensions dimensions, FillStyle fillStyle, Position position, float rotationAngle, TextProperties textProperties, Corners corners, StyleBorder border, ShadowStyle shadowStyle, bool visible)
Parameters
Dimensions
dimensions
Dimensions |
FillStyle
fillStyle
Fill style settings |
Position
position
Position settings |
System.Single
rotationAngle
Rotation angle |
TextProperties
textProperties
Text appearance settings |
Corners
corners
Corners appearance |
StyleBorder
border
Border settings |
ShadowStyle
shadowStyle
Shadow settings |
System.Boolean
visible
Visibility settings |
StyleTextBlock(FillStyle)
Creates a new class instance
Declaration
public StyleTextBlock(FillStyle fillStyle)
Parameters
FillStyle
fillStyle
Fill style settings |
StyleTextBlock(FillStyle, Position)
Creates a new class instance
Declaration
public StyleTextBlock(FillStyle fillStyle, Position position)
Parameters
FillStyle
fillStyle
Fill style settings |
Position
position
Position settings |
StyleTextBlock(FillStyle, Position, TextProperties)
Creates a new class instance
Declaration
public StyleTextBlock(FillStyle fillStyle, Position position, TextProperties textProperties)
Parameters
FillStyle
fillStyle
Fill style settings |
Position
position
Position settings |
TextProperties
textProperties
Text appearance settings |
StyleTextBlock(FillStyle, Position, TextProperties, Dimensions)
Creates a new class instance
Declaration
public StyleTextBlock(FillStyle fillStyle, Position position, TextProperties textProperties, Dimensions dimensions)
Parameters
FillStyle
fillStyle
Fill style settings |
Position
position
Position settings |
TextProperties
textProperties
Text appearance settings |
Dimensions
dimensions
Dimensions |
StyleTextBlock(FillStyle, TextProperties)
Creates a new class instance
Declaration
public StyleTextBlock(FillStyle fillStyle, TextProperties textProperties)
Parameters
FillStyle
fillStyle
Fill style settings |
TextProperties
textProperties
Text appearance settings |
StyleTextBlock(TextProperties)
Creates a new class instance
Declaration
public StyleTextBlock(TextProperties textProperties)
Parameters
TextProperties
textProperties
Text appearance settings |
Fields
styleTextBlockCorners
Specifies the corners of background rectangle
Declaration
protected Corners styleTextBlockCorners
Field Value
Corners
|
styleTextBlockOverflow
Specifiers the overflow behavior
Declaration
protected Overflow styleTextBlockOverflow
Field Value
Overflow
|
styleTextBlockRotationAngle
Specifies the Rotation angle
Declaration
protected float styleTextBlockRotationAngle
Field Value
System.Single
|
Properties
AutoTextWrap
Gets or sets the automatic text wrapping functionality switch
Declaration
public virtual AutoTextWrap AutoTextWrap { get; set; }
Property Value
AutoTextWrap
|
Corners
Specifies the corners of background rectangle
Declaration
[SkinnableProperty]
public Corners Corners { get; set; }
Property Value
Corners
|
Figure
Specifies the Figure property
Declaration
public string Figure { get; }
Property Value
System.String
|
FillStyle
Specifies the FillStyle property
Declaration
[SkinnableProperty]
public virtual FillStyle FillStyle { get; }
Property Value
FillStyle
|
MaxLength
Max number of visible characters. Rest will be truncated
Declaration
public int MaxLength { get; set; }
Property Value
System.Int32
|
TextProperties
Specifies the Text properties
Declaration
[SkinnableProperty]
public virtual TextProperties TextProperties { get; }
Property Value
TextProperties
|
Methods
Clone()
Creates the object's clone
Declaration
public override object Clone()
Returns
System.Object
Clone |
Overrides
LoadViewState(Object)
Loads class settings from a view state
Declaration
protected override void LoadViewState(object savedState)
Parameters
System.Object
savedState
ViewState to load from |
Overrides
ResetMaxLength()
Sets the default value for a MaxLength property
Declaration
protected virtual void ResetMaxLength()
SaveViewState()
Saves class data to a view state
Declaration
protected override object SaveViewState()
Returns
System.Object
Saved view state |
Overrides
ShouldSerializeMaxLength()
Should the MaxLength property be serialized or not
Declaration
protected virtual bool ShouldSerializeMaxLength()
Returns
System.Boolean
True if should be serialized |
TrackViewState()
Tracks view state changes
Declaration
protected override void TrackViewState()