TextStyle

TextStyle class

Represents the style of the text such as a font name, a font size and so on.

public sealed class TextStyle

Constructors

Name Description
TextStyle(string, string, double, bool, bool) Initializes a new instance of the TextStyle class.

Properties

Name Description
FontName { get; } Gets the font name.
FontSize { get; } Gets the font size.
IsBold { get; } Gets the value that indicates whether the font is bold.
IsItalic { get; } Gets a value that indicates whether the font is italic.
Name { get; } Gets the style name.

See Also