ClassTextFormatDefinition
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
TextFormatDefinition(Pen)
Initializes a new instance of the TextFormatDefinition class.
TextFormatDefinition(SolidBrush)
Initializes a new instance of the TextFormatDefinition class.
Declaration
public TextFormatDefinition(SolidBrush foreground)
Parameters
foreground
TextFormatDefinition(SolidBrush, SolidBrush)
Initializes a new instance of the TextFormatDefinition class.
Declaration
public TextFormatDefinition(SolidBrush foreground, SolidBrush background)
Parameters
foreground
background
TextFormatDefinition(SolidBrush, SolidBrush, UnderlineInfo, Pen)
Initializes a new instance of the TextFormatDefinition class.
Declaration
public TextFormatDefinition(SolidBrush foreground, SolidBrush background, UnderlineInfo underline, Pen border)
Parameters
foreground
background
underline
border
TextFormatDefinition(UnderlineInfo)
Initializes a new instance of the TextFormatDefinition class.
Declaration
public TextFormatDefinition(UnderlineInfo underline)
Parameters
underline
Properties
Background
Gets the background of the text format definition.
Border
Gets the border of the text format definition.
Foreground
Gets the foreground of the text format definition.
Underline
Gets the underline of the text format definition.
Methods
Equals(TextFormatDefinition)
Determines whether this instance is equal to other TextFormatDefinition instance.
Declaration
public bool Equals(TextFormatDefinition other)
Parameters
other
Returns
Equals(object)
Determines whether two object instances are equal.
GetHashCode()
Gets the hash code of this instance.
Operators
operator !=(TextFormatDefinition, TextFormatDefinition)
Implements the != operator.
Declaration
public static bool operator !=(TextFormatDefinition left, TextFormatDefinition right)
Parameters
left
The left.
right
The right.
Returns
The result of the operator.
operator ==(TextFormatDefinition, TextFormatDefinition)
Implements the == operator.
Declaration
public static bool operator ==(TextFormatDefinition left, TextFormatDefinition right)
Parameters
left
The left.
right
The right.
Returns
The result of the operator.