Google.Apps.Script.Type - Class LayoutProperties (2.3.0)

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

Reference documentation and code samples for the Google.Apps.Script.Type class LayoutProperties.

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