跳到主要内容

ApiPivotItem

Represents the ApiPivotItem class.

Properties

NameTypeDescription
CaptionstringReturns a caption of the pivot item.
FieldstringReturns a field of the pivot item.
NamestringReturns a name of the pivot item.
ParentstringReturns a parent of the pivot item.
ValuestringReturns a name of the specified item in the pivot table field.
VisiblebooleanReturns or sets the visibility of the pivot item.

Methods

MethodReturnsDescription
GetCaptionstringReturns a caption of the pivot item.
GetNamestringReturns a name of the pivot item.
GetParentApiPivotFieldReturns a parent of the pivot item.
GetValuestringReturns a name of the specified item in the pivot table field.
GetVisiblebooleanReturns the visibility of the pivot item.
SetVisibleNoneSets the visibility of the pivot item. 💡 At least one item must remain visible when hiding others.