Show / Hide Table of Contents

Class SortSpec

A sort order associated with a specific column or row.

Inheritance
System.Object
SortSpec
Implements
IDirectResponseSchema
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Sheets.v4.Data
Assembly: Google.Apis.Sheets.v4.dll
Syntax
public class SortSpec : IDirectResponseSchema

Properties

BackgroundColor

The background fill color to sort by; cells with this fill color are sorted to the top. Mutually exclusive with foreground_color.

Declaration
[JsonProperty("backgroundColor")]
public virtual Color BackgroundColor { get; set; }
Property Value
Type Description
Color

BackgroundColorStyle

The background fill color to sort by; cells with this fill color are sorted to the top. Mutually exclusive with foreground_color, and must be an RGB-type color. If background_color is also set, this field takes precedence.

Declaration
[JsonProperty("backgroundColorStyle")]
public virtual ColorStyle BackgroundColorStyle { get; set; }
Property Value
Type Description
ColorStyle

DataSourceColumnReference

Reference to a data source column.

Declaration
[JsonProperty("dataSourceColumnReference")]
public virtual DataSourceColumnReference DataSourceColumnReference { get; set; }
Property Value
Type Description
DataSourceColumnReference

DimensionIndex

The dimension the sort should be applied to.

Declaration
[JsonProperty("dimensionIndex")]
public virtual 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 foreground color to sort by; cells with this foreground color are sorted to the top. Mutually exclusive with background_color.

Declaration
[JsonProperty("foregroundColor")]
public virtual Color ForegroundColor { get; set; }
Property Value
Type Description
Color

ForegroundColorStyle

The foreground color to sort by; cells with this foreground color are sorted to the top. Mutually exclusive with background_color, and must be an RGB-type color. If foreground_color is also set, this field takes precedence.

Declaration
[JsonProperty("foregroundColorStyle")]
public virtual ColorStyle ForegroundColorStyle { get; set; }
Property Value
Type Description
ColorStyle

SortOrder

The order data should be sorted.

Declaration
[JsonProperty("sortOrder")]
public virtual string SortOrder { get; set; }
Property Value
Type Description
System.String

Implements

IDirectResponseSchema
In This Article
Back to top