Class LayoutProperties (2.0.0)

public sealed class LayoutProperties : IMessage<LayoutProperties>, IEquatable<LayoutProperties>, IDeepCloneable<LayoutProperties>, IBufferMessage, IMessage

Card layout properties shared across all add-on host applications.

Inheritance

Object > LayoutProperties

Namespace

Google.Apps.Script.Type

Assembly

Google.Apps.Script.Type.dll

Constructors

LayoutProperties()

public LayoutProperties()

LayoutProperties(LayoutProperties)

public LayoutProperties(LayoutProperties other)
Parameter
NameDescription
otherLayoutProperties

Properties

PrimaryColor

public string PrimaryColor { get; set; }

The primary color of the add-on. It sets the color of toolbar. If no primary color is set explicitly, the default value provided by the framework is used.

Property Value
TypeDescription
String

SecondaryColor

public string SecondaryColor { get; set; }

The secondary color of the add-on. It sets the color of buttons. If primary color is set but no secondary color is set, the secondary color is the same as the primary color. If neither primary color nor secondary color is set, the default value provided by the framework is used.

Property Value
TypeDescription
String