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

X-coordinate comparer of ITextBlock

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class TextBlockXComparer : IComparer

Inheritance: objectTextBlockXComparer

Implements: IComparer

Constructors

Initializes a new instance of the TextBlockXComparer class.

C#
public TextBlockXComparer(float xCoordinate)
Parameters:xCoordinatefloat

The x coordinate.

Methods

Compares the specified x value.

C#
public int Compare(object xValue, object yValue)
Parameters:xValueobject

The x value.

yValueobject

The y value.

Returns:

int

Implements: IComparer.Compare(object, object)