New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial

Definition

Constructors

C#
public TextStyle(Unit defaultFontSize, string defaultFontFamily)
Parameters:defaultFontSizeUnitdefaultFontFamilystring

Properties

C#
public bool Bold { get; set; }
C#
[TypeConverter(typeof(ColorConverter))]
public Color Color { get; set; }
C#
public string FontFamily { get; set; }
C#
public Unit FontSize { get; set; }
C#
public bool Italic { get; set; }
C#
public string Padding { get; set; }

Methods

C#
protected override string Serialize()
Returns:

string

Overrides: TextStyleBase.Serialize()