TextStyle

TextStyle class

Change the visual style of the text for an item in the project view.

public class TextStyle

Constructors

Name Description
TextStyle() Initializes a new instance of the TextStyle class with default settings.
TextStyle(FontDescriptor) Initializes a new instance of the TextStyle class with the specified font settings.
TextStyle(FontStyles) Initializes a new instance of the TextStyle class with the default font and specified font style.
TextStyle(float, FontStyles) Initializes a new instance of the TextStyle class with the default font and specified font size and style.

Properties

Name Description
BackgroundColor { get; set; } Gets or sets background color of the text style. Color.
BackgroundPattern { get; set; } Gets or sets background pattern of the text style. BackgroundPattern.
Color { get; set; } Gets or sets color of the text.
Font { get; set; } Gets or sets font of the text style.
virtual ItemType { get; set; } Gets or sets TextItemType of the text style.

See Also