ClassTextProperties
Base text appearance settings class (Font, Color)
Definition
Namespace:Telerik.Reporting.Charting.Styles
Assembly:Telerik.Reporting.dll
Syntax:
[TypeConverter(typeof(ExpandableObjectConverter))]
public class TextProperties : StateManagedObject, IChartingStateManagedItem, IChartingStateManager
Inheritance: objectStateManagedObjectTextProperties
Derived Classes:
Implements:
Inherited Members
Constructors
TextProperties(Color)
Creates a new class instance
Declaration
public TextProperties(Color color)
Parameters
color
Color
Text color
TextProperties(Color, Font)
Creates a new class instance
Declaration
public TextProperties(Color color, Font font)
Parameters
color
Color
Text color
font
Font
Text font
TextProperties(Color, string, float, FontStyle, GraphicsUnit)
Creates a new class instance
Declaration
public TextProperties(Color color, string familyName, float emSize, FontStyle fontStyle, GraphicsUnit grUnit)
Parameters
color
Color
Text color
familyName
string
Font family
emSize
float
Font size in EM
fontStyle
FontStyle
Font style
grUnit
GraphicsUnit
Graphics measurement unit
Properties
Color
Specifies the text color property
Declaration
[TypeConverter(typeof(ColorConverter))]
[SkinnableProperty]
public virtual Color Color { get; set; }
Property Value
Color
Font
Specifies the text font properties
Declaration
[TypeConverter(typeof(FontConverter))]
[SkinnableProperty]
public virtual Font Font { get; set; }
Property Value
Font
Methods
Clone()
Creates an object clone
Declaration
public object Clone()
Returns
object
object
Equals(object)
Determines whether the specified System.Object is equal to the current System.Object.
Declaration
public override bool Equals(object obj)
Parameters
obj
object
The System.Object to compare with the current System.Object
Returns
bool
true if the specified System.Object is equal to the current System.Object; otherwise, false.
Overrides
GetHashCode()
Serves as a hash function for a TextProperties type.
Declaration
public override int GetHashCode()
Returns
int
A hash code for the current class instance
Overrides