GridPivotField
GridPivotField class
表示数据透视表中的一个字段。
public class GridPivotField
特性
| 姓名 | 描述 |
|---|---|
| DisplayName { get; set; } | 表示 PivotField 显示名称。 |
| Function { get; set; } | 表示用于汇总数据透视表数据字段的函数。 |
| IsAscendSort { get; set; } | 指示指定的数据透视表字段是否自动升序排序。 |
| IsAutoSort { get; set; } | 表示指定的数据透视表字段是否自动排序。 |
| Position { get; set; } | 表示 PivotFields 中的 PivotField 索引。 |
方法
| 姓名 | 描述 |
|---|---|
| HideItem(int, bool) | 设置数据字段中的特定 PivotItem 是否隐藏。 |
| HideItemByName(string, bool) | 设置数据字段中的特定 PivotItem 是否隐藏。 |
| HideItemByValue(string, bool) | 设置数据字段中的特定 PivotItem 是否隐藏。 |