Class CellFormat
The format of a cell.
Inheritance
System.Object
CellFormat
Implements
Google.Apis.Requests.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 CellFormat : IDirectResponseSchema
Properties
BackgroundColor
The background color of the cell.
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 |
|---|---|
| System.String |
HorizontalAlignment
The horizontal alignment of the value in the cell.
Declaration
[JsonProperty("horizontalAlignment")]
public virtual string HorizontalAlignment { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
HyperlinkDisplayType
How a hyperlink, if it exists, should be displayed in the cell.
Declaration
[JsonProperty("hyperlinkDisplayType")]
public virtual string HyperlinkDisplayType { get; set; }
Property Value
| Type | Description |
|---|---|
| System.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 |
|---|---|
| System.String |
TextFormat
The format of the text in the cell (unless overridden by a format run).
Declaration
[JsonProperty("textFormat")]
public virtual TextFormat TextFormat { get; set; }
Property Value
| Type | Description |
|---|---|
| TextFormat |
TextRotation
The rotation applied to text in a 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 |
|---|---|
| System.String |
WrapStrategy
The wrap strategy for the value in the cell.
Declaration
[JsonProperty("wrapStrategy")]
public virtual string WrapStrategy { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Implements
Google.Apis.Requests.IDirectResponseSchema