StyleTextBlock
Text block appearance
Definition
Namespace:Telerik.Reporting.Charting.Styles
Assembly:Telerik.Reporting.dll
Syntax:
[TypeConverter(typeof(ExpandableObjectConverter))]
public class StyleTextBlock : LayoutStyle, IChartingStateManagedItem, IChartingStateManager
Inheritance: objectStateManagedObjectStyleLayoutStyleStyleTextBlock
Derived Classes:
Implements:
Inherited Members
Constructors
Creates a new class instance
public StyleTextBlock()
Creates a new class instance
public StyleTextBlock(Dimensions dimensions, FillStyle fillStyle, Position position, float rotationAngle, TextProperties textProperties, Corners corners, StyleBorder border, ShadowStyle shadowStyle, bool visible)
Dimensions
fillStyleFillStyleFill style settings
positionPositionPosition settings
rotationAnglefloatRotation angle
textPropertiesTextPropertiesText appearance settings
cornersCornersCorners appearance
borderStyleBorderBorder settings
shadowStyleShadowStyleShadow settings
visibleboolVisibility settings
Creates a new class instance
public StyleTextBlock(FillStyle fillStyle, Position position, TextProperties textProperties, Dimensions dimensions)
Fill style settings
positionPositionPosition settings
textPropertiesTextPropertiesText appearance settings
dimensionsDimensionsDimensions
Creates a new class instance
public StyleTextBlock(FillStyle fillStyle, Position position, TextProperties textProperties)
Fill style settings
positionPositionPosition settings
textPropertiesTextPropertiesText appearance settings
Creates a new class instance
public StyleTextBlock(FillStyle fillStyle, TextProperties textProperties)
Fill style settings
textPropertiesTextPropertiesText appearance settings
Creates a new class instance
Creates a new class instance
public StyleTextBlock(TextProperties textProperties)
Text appearance settings
Fields
Specifies the corners of background rectangle
protected Corners styleTextBlockCorners
Specifiers the overflow behavior
protected Overflow styleTextBlockOverflow
Specifies the Rotation angle
protected float styleTextBlockRotationAngle
Properties
Gets or sets the automatic text wrapping functionality switch
public virtual AutoTextWrap AutoTextWrap { get; set; }
Specifies the corners of background rectangle
[TypeConverter(typeof(CornersConverter))]
[SkinnableProperty]
public Corners Corners { get; set; }
Figure
string
Specifies the Figure property
[Browsable(false)]
public string Figure { get; }
Specifies the FillStyle property
[TypeConverter(typeof(ExpandableObjectConverter))]
[Browsable(true)]
[PersistenceMode(PersistenceMode.InnerProperty)]
[SkinnableProperty]
public virtual FillStyle FillStyle { get; }
MaxLength
int
Max number of visible characters. Rest will be truncated
public int MaxLength { get; set; }
Specifies the Text properties
[TypeConverter(typeof(ExpandableObjectConverter))]
[SkinnableProperty]
public virtual TextProperties TextProperties { get; }
Methods
Clone()
object
Creates the object's clone
public override object Clone()
object
Clone
Overrides:
Releases unmanaged and - optionally - managed resources
protected override void Dispose(bool disposing)
true to release both managed and unmanaged resources; false to release only unmanaged resources.
Overrides:
Loads class settings from a view state
protected override void LoadViewState(object savedState)
ViewState to load from
Overrides:
Sets the default value for a MaxLength property
protected virtual void ResetMaxLength()
SaveViewState()
object
Saves class data to a view state
protected override object SaveViewState()
object
Saved view state
Overrides:
Should the MaxLength property be serialized or not
protected virtual bool ShouldSerializeMaxLength()
bool
True if should be serialized
Tracks view state changes
protected override void TrackViewState()
Overrides: