Class ExcelSlicer<T>
- Namespace
- OfficeOpenXml.Drawing.Slicer
- Assembly
- EPPlus.dll
Base class for table and pivot table slicers.
public abstract class ExcelSlicer<T> : ExcelDrawing, IDisposable where T : ExcelSlicerCache
Type Parameters
T
The slicer cache data type
- Inheritance
-
ExcelSlicer<T>
- Implements
- Derived
- Inherited Members
Properties
Cache
A reference to the slicer cache.
public T Cache { get; }
Property Value
- T
Caption
The caption text of the slicer.
public string Caption { get; set; }
Property Value
ColumnCount
Number of columns. Default is 1.
public int ColumnCount { get; set; }
Property Value
DrawingType
The type of drawing
public override eDrawingType DrawingType { get; }
Property Value
LockedPosition
If the slicer view is locked or not.
public bool LockedPosition { get; set; }
Property Value
RowHeight
Row height in points
public double RowHeight { get; set; }
Property Value
ShowCaption
If the caption of the slicer is visible.
public bool ShowCaption { get; set; }
Property Value
SlicerName
The the name of the slicer.
public string SlicerName { get; set; }
Property Value
StartItem
The index of the starting item in the slicer. Default is 0.
public int StartItem { get; set; }
Property Value
Style
The build in slicer style. If set to Custom, the name in the StyleName is used
public eSlicerStyle Style { get; set; }
Property Value
StyleName
The style name used for the slicer. Style
public string StyleName { get; set; }