Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

ExcelPivotGroupingInfo

OfficeIMO.Excel

Namespace
OfficeIMO.Excel
Assembly
OfficeIMO.Excel
Source revision
273d35d5ba8a with working tree changes
Modifiers
sealed

Describes grouping metadata read from a pivot cache field.

Inheritance

  • object
  • ExcelPivotGroupingInfo

Usage

Explore 3 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters 1

Constructors

public ExcelPivotGroupingInfo(string fieldName, ExcelPivotGroupBy? groupBy, DateTime? startDate, DateTime? endDate, double? startNumber, double? endNumber, double? interval, bool? autoStart, bool? autoEnd, IReadOnlyList<string>? groupItems = null, uint? baseFieldIndex = null, uint? parentFieldIndex = null) #

Creates pivot grouping readback information.

Parameters

fieldName string required
groupBy OfficeIMO.Excel.ExcelPivotGroupBy? required
startDate System.DateTime? required
endDate System.DateTime? required
startNumber double? required
endNumber double? required
interval double? required
autoStart bool? required
autoEnd bool? required
groupItems System.Collections.Generic.IReadOnlyList<string>? = null optional
baseFieldIndex uint? = null optional
parentFieldIndex uint? = null optional

Properties

public string FieldName { get; } #

Gets the source field name.

public ExcelPivotGroupBy? GroupBy { get; } #

Gets the grouping mode.

public DateTime? StartDate { get; } #

Gets the date grouping start, if present.

public DateTime? EndDate { get; } #

Gets the date grouping end, if present.

public double? StartNumber { get; } #

Gets the numeric grouping start, if present.

public double? EndNumber { get; } #

Gets the numeric grouping end, if present.

public double? Interval { get; } #

Gets the grouping interval, if present.

public bool? AutoStart { get; } #

Gets whether Excel should infer the grouping start.

public bool? AutoEnd { get; } #

Gets whether Excel should infer the grouping end.

public IReadOnlyList<string> GroupItems { get; } #

Gets explicit grouping item labels or values, if present.

public uint? BaseFieldIndex { get; } #

Gets the source field index used as the base for this grouping, if present.

public uint? ParentFieldIndex { get; } #

Gets the parent grouping field index, if present.