Class DataSorterKey
Class DataSorterKey
Namespace: Aspose.Cells
Assembly: Aspose.Cells.dll (25.2.0)
表示数据排序器的键。
public class DataSorterKey
继承
继承成员
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
属性
颜色
获取排序的颜色。
public Color Color { get; }
属性值
备注
仅在 Aspose.Cells.DataSorterKey.Type 为 Aspose.Cells.SortOnType.CellColor 或 Aspose.Cells.SortOnType.FontColor 时生效。
图标ID
表示图标集类型的ID。
public int IconId { get; }
属性值
备注
仅在 Aspose.Cells.DataSorterKey.Type 为 Aspose.Cells.SortOnType.Icon 时生效。
图标集类型
表示图标集类型。
public IconSetType IconSetType { get; }
属性值
备注
仅在 Aspose.Cells.DataSorterKey.Type 为 Aspose.Cells.SortOnType.Icon 时生效。
索引
获取排序的列索引(绝对位置,列A为0,B为1,…)。
public int Index { get; }
属性值
顺序
表示排序的顺序。
public SortOrder Order { get; }
属性值
类型
表示排序的类型。
public SortOnType Type { get; }