New to Telerik UI for WinForms? Start a free 30-day trial

ITextElement

Interface

Supplies text and formatting data to text-rendering operations.

Definition

Namespace:Telerik.WinControls.Primitives

Assembly:Telerik.WinControls.dll

Syntax:

C#
public interface ITextElement

Properties

Gets the font used to measure and render the text.

C#
Font Font { get; }

Gets the foreground color used to render the text.

C#
Color ForeColor { get; }
C#
object RawResource { get; set; }

Gets the text content to render.

C#
string Text { get; }

Gets formatting settings consumed by the text-rendering backend.

C#
TextFormat TextFormat { get; }