Class DataSorterKey
Namespace: Aspose.Cells
Assembly: Aspose.Cells.dll (25.2.0)
Represents the key of the data sorter.
public class DataSorterKey
Inheritance
Inherited Members
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Properties
Color
Gets the sorted color.
public Color Color { get; }
Property Value
Remarks
Only takes effect when Aspose.Cells.DataSorterKey.Type is Aspose.Cells.SortOnType.CellColor or Aspose.Cells.SortOnType.FontColor.
IconId
Represents the id of the icon set type.
public int IconId { get; }
Property Value
Remarks
Only takes effect when Aspose.Cells.DataSorterKey.Type is Aspose.Cells.SortOnType.Icon.
IconSetType
Represents the icon set type.
public IconSetType IconSetType { get; }
Property Value
Remarks
Only takes effect when Aspose.Cells.DataSorterKey.Type is Aspose.Cells.SortOnType.Icon.
Index
Gets the sorted column index(absolute position, column A is 0, B is 1, …).
public int Index { get; }
Property Value
Order
Indicates the order of sorting.
public SortOrder Order { get; }
Property Value
Type
Represents the type of sorting.
public SortOnType Type { get; }