New to Telerik UI for WinFormsStart a free 30-day trial

Class Underline.

Definition

Namespace:Telerik.WinForms.Controls.SyntaxEditor.UI

Assembly:Telerik.WinControls.SyntaxEditor.dll

Syntax:

C#
public class UnderlineInfo

Inheritance: objectUnderlineInfo

Constructors

Initializes a new instance of the UnderlineInfo class.

C#
public UnderlineInfo()

Initializes a new instance of the UnderlineInfo class.

C#
public UnderlineInfo(Brush brush, IUnderlineDecoration decoration)
Parameters:brushBrush

The brush.

decorationIUnderlineDecoration

The decoration.

Fields

Empty Underline instance.

C#
public static readonly UnderlineInfo None

Properties

Gets the brush.

C#
public Brush Brush { get; }
Property Value:

The brush.

Gets the decoration.

C#
public IUnderlineDecoration Decoration { get; }
Property Value:

The decoration.

Methods

Creates the underline.

C#
public FrameworkElement CreateUnderline(Rect rect)
Parameters:rectRectReturns:

FrameworkElement

Determines whether the specified object is equal to this instance.

C#
public override bool Equals(object obj)
Parameters:objobject

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)

Returns a hash code for this instance.

C#
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

Implements the != operator.

C#
public static bool operator !=(UnderlineInfo left, UnderlineInfo right)
Parameters:leftUnderlineInfo

The left.

rightUnderlineInfo

The right.

Returns:

bool

The result of the operator.

Implements the == operator.

C#
public static bool operator ==(UnderlineInfo left, UnderlineInfo right)
Parameters:leftUnderlineInfo

The left.

rightUnderlineInfo

The right.

Returns:

bool

The result of the operator.