Class TextProperties
Base text appearance settings class (Font, Color)
Inherited Members
Namespace: Telerik.Charting.Styles
Assembly: Telerik.WinControls.RadChart.dll
Syntax
public class TextProperties : StateManagedObject, IChartingStateManagedItem, IChartingStateManager, ICloneable
Constructors
TextProperties()
Creates a new class instance
Declaration
public TextProperties()
TextProperties(Color)
Creates a new class instance
Declaration
public TextProperties(Color color)
Parameters
System.Drawing.Color
color
Text color |
TextProperties(Color, Font)
Creates a new class instance
Declaration
public TextProperties(Color color, Font font)
Parameters
System.Drawing.Color
color
Text color |
System.Drawing.Font
font
Text font |
TextProperties(Color, String, Single, FontStyle, GraphicsUnit)
Creates a new class instance
Declaration
public TextProperties(Color color, string familyName, float emSize, FontStyle fontStyle, GraphicsUnit grUnit)
Parameters
System.Drawing.Color
color
Text color |
System.String
familyName
Font family |
System.Single
emSize
Font size in EM |
System.Drawing.FontStyle
fontStyle
Font style |
System.Drawing.GraphicsUnit
grUnit
Graphics measurement unit |
Properties
Color
Specifies the text color property
Declaration
[SkinnableProperty]
public virtual Color Color { get; set; }
Property Value
System.Drawing.Color
|
Font
Specifies the text font properties
Declaration
[SkinnableProperty]
public virtual Font Font { get; set; }
Property Value
System.Drawing.Font
|
Methods
Clone()
Creates an object clone
Declaration
public object Clone()
Returns
System.Object
object |
Implements
Equals(Object)
Determines whether the specified System.Object is equal to the current System.Object.
Declaration
public override bool Equals(object obj)
Parameters
System.Object
obj
The System.Object to compare with the current System.Object |
Returns
System.Boolean
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
System.Int32
A hash code for the current class instance |