[]
        
(Showing Draft Content)

FarPoint.Win.Spread.SortInfo

SortInfo Class

Represents the information related to sorting columns, rows, or a range of cells.

Inheritance
SortInfo
Implements
Namespace: FarPoint.Win.Spread
Assembly: FarPoint.Win.Spread.dll
Syntax
public class SortInfo : ISerializable
Public Class SortInfo
    Implements ISerializable

Constructors

Name Description
SortInfo(int, bool)

Creates a SortInfo object with the order specified and the comparison done using the system default comparer.

SortInfo(int, bool, IComparer)

Creates a SortInfo object with the order specified and the comparison done according to the specified comparer.

SortInfo(SerializationInfo, StreamingContext)

Initializes a new instance of the SortInfo class from serialization.

Properties

Name Description
Ascending

Gets or sets whether the sort order is ascending.

Comparer

Gets or sets the IComparer object for the method of comparison.

Index

Gets or sets the index of the column or row on which to sort.

Methods

Name Description
GetObjectData(SerializationInfo, StreamingContext)

Populates a System.Runtime.Serialization.SerializationInfo with the data needed to serialize the target object.