Class
UnderlineInfo

Class Underline.

Definition

Namespace:Telerik.Windows.Controls.SyntaxEditor.UI

Assembly:Telerik.Windows.Controls.SyntaxEditor.dll

Syntax:

cs-api-definition
public class UnderlineInfo

Inheritance: objectUnderlineInfo

Constructors

UnderlineInfo()

Initializes a new instance of the UnderlineInfo class.

Declaration

cs-api-definition
public UnderlineInfo()

UnderlineInfo(Brush, IUnderlineDecoration)

Initializes a new instance of the UnderlineInfo class.

Declaration

cs-api-definition
public UnderlineInfo(Brush brush, IUnderlineDecoration decoration)

Parameters

brush

Brush

The brush.

decoration

IUnderlineDecoration

The decoration.

Fields

None

Empty Underline instance.

Declaration

cs-api-definition
public static readonly UnderlineInfo None

Field Value

UnderlineInfo

Properties

Brush

Gets the brush.

Declaration

cs-api-definition
public Brush Brush { get; }

Property Value

Brush

The brush.

Decoration

Gets the decoration.

Declaration

cs-api-definition
public IUnderlineDecoration Decoration { get; }

Property Value

IUnderlineDecoration

The decoration.

Methods

CreateUnderline(Rect)

Creates the underline.

Declaration

cs-api-definition
public FrameworkElement CreateUnderline(Rect rect)

Parameters

rect

Rect

Returns

FrameworkElement

Equals(object)

Determines whether the specified object is equal to this instance.

Declaration

cs-api-definition
public override bool Equals(object obj)

Parameters

obj

object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to this instance; otherwise, false.

Overrides object.Equals(object)

GetHashCode()

Returns a hash code for this instance.

Declaration

cs-api-definition
public override int GetHashCode()

Returns

int

A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.

Overrides object.GetHashCode()

Operators

operator !=(UnderlineInfo, UnderlineInfo)

Implements the != operator.

Declaration

cs-api-definition
public static bool operator !=(UnderlineInfo left, UnderlineInfo right)

Parameters

left

UnderlineInfo

The left.

right

UnderlineInfo

The right.

Returns

bool

The result of the operator.

operator ==(UnderlineInfo, UnderlineInfo)

Implements the == operator.

Declaration

cs-api-definition
public static bool operator ==(UnderlineInfo left, UnderlineInfo right)

Parameters

left

UnderlineInfo

The left.

right

UnderlineInfo

The right.

Returns

bool

The result of the operator.