[]
Creates a SortInfo object with the specified order and comparison done using the system default comparer.
public ComplexSortInfo(int index, bool ascending)
Public Sub New(index As Integer, ascending As Boolean)
Type | Name | Description |
---|---|---|
int | index | Index of the column or row on which to sort |
bool | ascending | Whether the sort order is ascending |
Creates a SortInfo object from another SortInfo object
public ComplexSortInfo(ComplexSortInfo source)
Public Sub New(source As ComplexSortInfo)
Type | Name | Description |
---|---|---|
ComplexSortInfo | source | Another SortInfo object |
Creates a ComplexSortInfo object with a specified order and comparison that is handled by the spread default color comparer.
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)
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 |
Creates a ComplexSortInfo object with a specified order and comparison done by spread default icon comparer.
public ComplexSortInfo(int index, ConditionalFormattingIconSetIndex icon, bool ascending)
Public Sub New(index As Integer, icon As ConditionalFormattingIconSetIndex, ascending As Boolean)
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 |
Initializes a new instance of the ComplexSortInfo class from serialization.
protected ComplexSortInfo(SerializationInfo info, StreamingContext context)
Protected Sub New(info As SerializationInfo, context As StreamingContext)
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. |