ClassUnderlineInfo
Class Underline.
Definition
Namespace:Telerik.Windows.Controls.SyntaxEditor.UI
Assembly:Telerik.Windows.Controls.SyntaxEditor.dll
Syntax:
public class UnderlineInfo
Inheritance: objectUnderlineInfo
Constructors
UnderlineInfo()
Initializes a new instance of the UnderlineInfo class.
Declaration
public UnderlineInfo()
UnderlineInfo(Brush, IUnderlineDecoration)
Initializes a new instance of the UnderlineInfo class.
Declaration
public UnderlineInfo(Brush brush, IUnderlineDecoration decoration)
Parameters
brush
Brush
The brush.
decoration
The decoration.
Fields
None
Empty Underline instance.
Properties
Brush
Gets the brush.
Declaration
public Brush Brush { get; }
Property Value
Brush
The brush.
Decoration
Gets the decoration.
Declaration
public IUnderlineDecoration Decoration { get; }
Property Value
The decoration.
Methods
CreateUnderline(Rect)
Creates the underline.
Declaration
public FrameworkElement CreateUnderline(Rect rect)
Parameters
rect
Rect
Returns
FrameworkElement
Equals(object)
Determines whether the specified object is equal to this instance.
GetHashCode()
Returns a hash code for this instance.
Declaration
public override int GetHashCode()
Returns
A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
Overrides
Operators
operator !=(UnderlineInfo, UnderlineInfo)
Implements the != operator.
Declaration
public static bool operator !=(UnderlineInfo left, UnderlineInfo right)
Parameters
left
The left.
right
The right.
Returns
The result of the operator.
operator ==(UnderlineInfo, UnderlineInfo)
Implements the == operator.
Declaration
public static bool operator ==(UnderlineInfo left, UnderlineInfo right)
Parameters
left
The left.
right
The right.
Returns
The result of the operator.