TextFormatDefinition
Represents formatting of a text portion.
Definition
Namespace:Telerik.WinForms.Controls.SyntaxEditor.UI
Assembly:Telerik.WinControls.SyntaxEditor.dll
Syntax:
public class TextFormatDefinition
Inheritance: objectTextFormatDefinition
Constructors
Initializes a new instance of the TextFormatDefinition class.
Initializes a new instance of the TextFormatDefinition class.
public TextFormatDefinition(SolidBrush foreground, SolidBrush background, UnderlineInfo underline, Pen border)
Initializes a new instance of the TextFormatDefinition class.
public TextFormatDefinition(SolidBrush foreground, SolidBrush background)
Initializes a new instance of the TextFormatDefinition class.
Initializes a new instance of the TextFormatDefinition class.
Properties
Gets the background of the text format definition.
public SolidBrush Background { get; }
Gets the foreground of the text format definition.
public SolidBrush Foreground { get; }
Gets the underline of the text format definition.
public UnderlineInfo Underline { get; }
Methods
Determines whether this instance is equal to other TextFormatDefinition instance.
Gets the hash code of this instance.
Operators
Implements the != operator.
public static bool operator !=(TextFormatDefinition left, TextFormatDefinition right)
The left.
rightTextFormatDefinitionThe right.
Returns:The result of the operator.
Implements the == operator.
public static bool operator ==(TextFormatDefinition left, TextFormatDefinition right)
The left.
rightTextFormatDefinitionThe right.
Returns:The result of the operator.