Show / Hide Table of Contents

Class DropdownOption

An option in a Dropdown.

Inheritance
object
DropdownOption
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Docs.v1.Data
Assembly: Google.Apis.Docs.v1.dll
Syntax
public class DropdownOption : IDirectResponseSchema

Properties

DisplayValue

The display value of this dropdown option.

Declaration
[JsonProperty("displayValue")]
public virtual string DisplayValue { get; set; }
Property Value
Type Description
string

ETag

The ETag of the item.

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

OptionId

The ID of this dropdown option. If you specify an ID, it must be unique among all options in this dropdown definition. The ID must start with dropdownItem. and match regex ^dropdownItem\.[a-zA-Z0-9_-]{2,14}$ (length 15-27 chars). If you don't specify an ID, a unique one is generated.

Declaration
[JsonProperty("optionId")]
public virtual string OptionId { get; set; }
Property Value
Type Description
string

TextStyle

The text style of this dropdown option. Currently, only the foreground_color and background_color properties are supported. If other properties are set, a 400 bad request error is returned.

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

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX