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.
Implements
IMessageLayoutProperties, IEquatableLayoutProperties, IDeepCloneableLayoutProperties, IBufferMessage, IMessageNamespace
GoogleGoogle.AppsGoogle.Apps.ScriptTypeAssembly
Google.Apps.Script.Type.dll
Constructors
LayoutProperties()
public LayoutProperties()
LayoutProperties(LayoutProperties)
public LayoutProperties(LayoutProperties other)
Parameter | |
---|---|
Name | Description |
other | LayoutProperties |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
string |