Class RadElementZOrderComparer
Represents a Z-order comparer. The Z-Order determines the overlapping of the RadElements.
Inherited Members
Namespace: Telerik.WinControls
Assembly: Telerik.WinControls.dll
Syntax
public class RadElementZOrderComparer : Comparer<RadElement>, IComparer, IComparer<RadElement>
Constructors
RadElementZOrderComparer(Boolean)
Initializes a new instance of the RadElementZOrderComparer class.
Declaration
public RadElementZOrderComparer(bool reverse)
Parameters
System.Boolean
reverse
|
Methods
Compare(RadElement, RadElement)
Compares the Z-order of the two RadElement arguments. Retrieves 0 if the two elements are equal, positive number if the first element has a greater Z-Order than the second argument, and a negative number otherwise.
Declaration
public override int Compare(RadElement x, RadElement y)
Parameters
RadElement
x
|
RadElement
y
|
Returns
System.Int32
|