The slicer styles of a workbook — the built-ins (SlicerStyleLight1, ...) and the ones the
document defines — and which of them is the default for a new slicer.
Remarks
Office Scripts has the same shape: Workbook.getSlicerStyles(), getSlicerStyle(name),
getDefaultSlicerStyle() / setDefaultSlicerStyle(style).
Order is the gallery's: the built-ins (Light, Other, Dark), each replaced in place by a custom
style of the same name, then the document's own styles by name.
onCollectionChange announces a style added, changed or deleted, and a change of the default.
The slicer styles of a workbook — the built-ins (
SlicerStyleLight1, ...) and the ones the document defines — and which of them is the default for a new slicer.Remarks
Office Scripts has the same shape:
Workbook.getSlicerStyles(),getSlicerStyle(name),getDefaultSlicerStyle()/setDefaultSlicerStyle(style).Order is the gallery's: the built-ins (Light, Other, Dark), each replaced in place by a custom style of the same name, then the document's own styles by name.
onCollectionChangeannounces a style added, changed or deleted, and a change of the default.Reached from IStyleCollection.getSlicerStyles.
See
Interface
ISlicerStyleCollection