Class SortSpec
A sort order associated with a specific column or row.
Inheritance
Implements
Namespace: Google.Apis.Sheets.v4.Data
Assembly: Google.Apis.Sheets.v4.dll
Syntax
public class SortSpec : object, IDirectResponseSchema
Properties
BackgroundColor
The background fill color to sort by. Mutually exclusive with sorting by text color. Requests to set this field fail with a 400 error if foreground color is also set.
Declaration
public virtual Color BackgroundColor { get; set; }
Property Value
| Type | Description |
|---|---|
| Color |
BackgroundColorStyle
The background fill color to sort by. Mutually exclusive with sorting by text color. Requests to set this field fail with a 400 error if foreground color is also set. If background_color is also set, this field takes precedence.
Declaration
public virtual ColorStyle BackgroundColorStyle { get; set; }
Property Value
| Type | Description |
|---|---|
| ColorStyle |
DimensionIndex
The dimension the sort should be applied to.
Declaration
public virtual Nullable<int> DimensionIndex { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
ForegroundColor
The text color to sort by. Mutually exclusive with sorting by background fill color. Requests to set this field fail with a 400 error if background color is also set.
Declaration
public virtual Color ForegroundColor { get; set; }
Property Value
| Type | Description |
|---|---|
| Color |
ForegroundColorStyle
The text color to sort by. Mutually exclusive with sorting by background fill color. Requests to set this field fail with a 400 error if background color is also set. If foreground_color is also set, this field takes precedence.
Declaration
public virtual ColorStyle ForegroundColorStyle { get; set; }
Property Value
| Type | Description |
|---|---|
| ColorStyle |
SortOrder
The order data should be sorted.
Declaration
public virtual string SortOrder { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |