Class StdBSListViewColumnSorter
Inheritance
System.Object
StdBSListViewColumnSorter
Implements
System.Collections.IComparer
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: StdPlatBS100
Assembly: StdPlatBS100.dll
Syntax
public class StdBSListViewColumnSorter : IComparer
Constructors
StdBSListViewColumnSorter()
Class constructor. Initializes various elements
Declaration
public StdBSListViewColumnSorter()
Properties
Order
Gets or sets the order of sorting to apply (for example, 'Ascending' or 'Descending').
Declaration
public SortOrder Order { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Windows.Forms.SortOrder |
SortColumn
Gets or sets the number of the column to which to apply the sorting operation (Defaults to '0').
Declaration
public int SortColumn { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
Methods
Compare(Object, Object)
This method is inherited from the IComparer interface. It compares the two objects passed using a case insensitive comparison.
Declaration
public int Compare(object x, object y)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object | x | First object to be compared |
| System.Object | y | Second object to be compared |
Returns
| Type | Description |
|---|---|
| System.Int32 | The result of the comparison. "0" if equal, negative if 'x' is less than 'y' and positive if 'x' is greater than 'y' |
Implements
System.Collections.IComparer