Show / Hide Table of Contents

Class CellFormat

The format of a cell.

Inheritance
System.Object
CellFormat
Implements
IDirectResponseSchema
Namespace: Google.Apis.Sheets.v4.Data
Assembly: Google.Apis.Sheets.v4.dll
Syntax
public class CellFormat : object, IDirectResponseSchema

Properties

BackgroundColor

The background color of the cell.

Declaration
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
public virtual ColorStyle BackgroundColorStyle { get; set; }
Property Value
Type Description
ColorStyle

Borders

The borders of the cell.

Declaration
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
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
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
public virtual NumberFormat NumberFormat { get; set; }
Property Value
Type Description
NumberFormat

Padding

The padding of the cell.

Declaration
public virtual Padding Padding { get; set; }
Property Value
Type Description
Padding

TextDirection

The direction of the text in the cell.

Declaration
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
public virtual TextFormat TextFormat { get; set; }
Property Value
Type Description
TextFormat

TextRotation

The rotation applied to text in a cell

Declaration
public virtual TextRotation TextRotation { get; set; }
Property Value
Type Description
TextRotation

VerticalAlignment

The vertical alignment of the value in the cell.

Declaration
public virtual string VerticalAlignment { get; set; }
Property Value
Type Description
System.String

WrapStrategy

The wrap strategy for the value in the cell.

Declaration
public virtual string WrapStrategy { get; set; }
Property Value
Type Description
System.String

Implements

IDirectResponseSchema
Back to top