[]
Gets or sets the style currently applied to the specified slicer.
ITableStyle Style { get; set; }
Property Style As ITableStyle
worksheet.Range["A1:B4"].Value = new object[,] {
{"Category", "Amount"},
{"Fruit", 100},
{"Vegetables", 200},
{"Fruit", 150}
};
ITable table = worksheet.Tables.Add(worksheet.Range["A1:B4"], true);
ISlicer slicer = workbook.SlicerCaches.Add(table, "Category", "categoryCache")
.Slicers.Add(worksheet, "categorySlicer", "Category", 30, 100, 120, 160);
ITableStyle style = slicer.Style;