[]
        
(Showing Draft Content)

FarPoint.Win.Spread.ComplexSortInfo.-ctor

ComplexSortInfo Constructor

ComplexSortInfo(int, bool)

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

Declaration
public ComplexSortInfo(int index, bool ascending)
Public Sub New(index As Integer, ascending As Boolean)
Parameters
Type Name Description
int index

Index of the column or row on which to sort

bool ascending

Whether the sort order is ascending

ComplexSortInfo(ComplexSortInfo)

Creates a SortInfo object from another SortInfo object

Declaration
public ComplexSortInfo(ComplexSortInfo source)
Public Sub New(source As ComplexSortInfo)
Parameters
Type Name Description
ComplexSortInfo source

Another SortInfo object

ComplexSortInfo(int, Color, bool, bool)

Creates a ComplexSortInfo object with a specified order and comparison that is handled by the spread default color comparer.

Declaration
public ComplexSortInfo(int index, Color color, bool isForeColor, bool ascending)
Public Sub New(index As Integer, color As Color, isForeColor As Boolean, ascending As Boolean)
Parameters
Type Name Description
int index

Index of the column or row on which to sort

Color color

Base color to compare

bool isForeColor

Whether the base color is the forecolor

bool ascending

Whether the sort order is Top sort

ComplexSortInfo(int, ConditionalFormattingIconSetIndex, bool)

Creates a ComplexSortInfo object with a specified order and comparison done by spread default icon comparer.

Declaration
public ComplexSortInfo(int index, ConditionalFormattingIconSetIndex icon, bool ascending)
Public Sub New(index As Integer, icon As ConditionalFormattingIconSetIndex, ascending As Boolean)
Parameters
Type Name Description
int index

Index of the column or row on which to sort

ConditionalFormattingIconSetIndex icon

Base icon to compare

bool ascending

Whether the sort order is Top sort

ComplexSortInfo(SerializationInfo, StreamingContext)

Initializes a new instance of the ComplexSortInfo class from serialization.

Declaration
protected ComplexSortInfo(SerializationInfo info, StreamingContext context)
Protected Sub New(info As SerializationInfo, context As StreamingContext)
Parameters
Type Name Description
SerializationInfo info

The System.Runtime.Serialization.SerializationInfo to populate with data.

StreamingContext context

The destination (see System.Runtime.Serialization.StreamingContext) for this serialization.