Class SlicerSpec
The specifications of a slicer.
Implements
Inherited Members
Namespace: Google.Apis.Sheets.v4.Data
Assembly: Google.Apis.Sheets.v4.dll
Syntax
public class SlicerSpec : IDirectResponseSchema
Properties
ApplyToPivotTables
True if the filter should apply to pivot tables. If not set, default to True
.
Declaration
[JsonProperty("applyToPivotTables")]
public virtual bool? ApplyToPivotTables { get; set; }
Property Value
Type | Description |
---|---|
bool? |
BackgroundColor
The background color of the slicer. Deprecated: Use background_color_style.
Declaration
[JsonProperty("backgroundColor")]
public virtual Color BackgroundColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
BackgroundColorStyle
The background color of the slicer. If background_color is also set, this field takes precedence.
Declaration
[JsonProperty("backgroundColorStyle")]
public virtual ColorStyle BackgroundColorStyle { get; set; }
Property Value
Type | Description |
---|---|
ColorStyle |
ColumnIndex
The zero-based column index in the data table on which the filter is applied to.
Declaration
[JsonProperty("columnIndex")]
public virtual int? ColumnIndex { get; set; }
Property Value
Type | Description |
---|---|
int? |
DataRange
The data range of the slicer.
Declaration
[JsonProperty("dataRange")]
public virtual GridRange DataRange { get; set; }
Property Value
Type | Description |
---|---|
GridRange |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
FilterCriteria
The filtering criteria of the slicer.
Declaration
[JsonProperty("filterCriteria")]
public virtual FilterCriteria FilterCriteria { get; set; }
Property Value
Type | Description |
---|---|
FilterCriteria |
HorizontalAlignment
The horizontal alignment of title in the slicer. If unspecified, defaults to LEFT
Declaration
[JsonProperty("horizontalAlignment")]
public virtual string HorizontalAlignment { get; set; }
Property Value
Type | Description |
---|---|
string |
TextFormat
The text format of title in the slicer. The link field is not supported.
Declaration
[JsonProperty("textFormat")]
public virtual TextFormat TextFormat { get; set; }
Property Value
Type | Description |
---|---|
TextFormat |
Title
The title of the slicer.
Declaration
[JsonProperty("title")]
public virtual string Title { get; set; }
Property Value
Type | Description |
---|---|
string |