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

Provides base functionality for text style configuration in chart elements. Supports margin settings and serialization logic for derived text style classes.

Definition

Constructors

C#
protected TextStyleBase()

Properties

Gets or sets the margin of the text in pixels.

C#
public string Margin { get; set; }

Methods

C#
protected string GetSerializedMargin()
Returns:

string

C#
protected virtual string Serialize()
Returns:

string

C#
protected void SerializeSpacing(StringBuilder sb, string spacing, string propertyName)
Parameters:sbStringBuilderspacingstringpropertyNamestring