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