Class CellFormat
The format of a cell.
Implements
Inherited Members
Namespace: Google.Apis.Sheets.v4.Data
Assembly: Google.Apis.Sheets.v4.dll
Syntax
public class CellFormat : IDirectResponseSchema
Properties
BackgroundColor
The background color of the cell. 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 cell. If background_color is also set, this field takes precedence.
Declaration
[JsonProperty("backgroundColorStyle")]
public virtual ColorStyle BackgroundColorStyle { get; set; }
Property Value
Type | Description |
---|---|
ColorStyle |
Borders
The borders of the cell.
Declaration
[JsonProperty("borders")]
public virtual Borders Borders { get; set; }
Property Value
Type | Description |
---|---|
Borders |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
HorizontalAlignment
The horizontal alignment of the value in the cell.
Declaration
[JsonProperty("horizontalAlignment")]
public virtual string HorizontalAlignment { get; set; }
Property Value
Type | Description |
---|---|
string |
HyperlinkDisplayType
If one exists, how a hyperlink should be displayed in the cell.
Declaration
[JsonProperty("hyperlinkDisplayType")]
public virtual string HyperlinkDisplayType { get; set; }
Property Value
Type | Description |
---|---|
string |
NumberFormat
A format describing how number values should be represented to the user.
Declaration
[JsonProperty("numberFormat")]
public virtual NumberFormat NumberFormat { get; set; }
Property Value
Type | Description |
---|---|
NumberFormat |
Padding
The padding of the cell.
Declaration
[JsonProperty("padding")]
public virtual Padding Padding { get; set; }
Property Value
Type | Description |
---|---|
Padding |
TextDirection
The direction of the text in the cell.
Declaration
[JsonProperty("textDirection")]
public virtual string TextDirection { get; set; }
Property Value
Type | Description |
---|---|
string |
TextFormat
The format of the text in the cell (unless overridden by a format run). Setting a cell-level link here clears the cell's existing links. Setting the link field in a TextFormatRun takes precedence over the cell-level link.
Declaration
[JsonProperty("textFormat")]
public virtual TextFormat TextFormat { get; set; }
Property Value
Type | Description |
---|---|
TextFormat |
TextRotation
The rotation applied to text in the cell.
Declaration
[JsonProperty("textRotation")]
public virtual TextRotation TextRotation { get; set; }
Property Value
Type | Description |
---|---|
TextRotation |
VerticalAlignment
The vertical alignment of the value in the cell.
Declaration
[JsonProperty("verticalAlignment")]
public virtual string VerticalAlignment { get; set; }
Property Value
Type | Description |
---|---|
string |
WrapStrategy
The wrap strategy for the value in the cell.
Declaration
[JsonProperty("wrapStrategy")]
public virtual string WrapStrategy { get; set; }
Property Value
Type | Description |
---|---|
string |