public sealed class LayoutProperties : IMessage<LayoutProperties>, IEquatable<LayoutProperties>, IDeepCloneable<LayoutProperties>, IBufferMessage, IMessage
Card layout properties shared across all add-on host applications.
Implements
IMessage<LayoutProperties>, IEquatable<LayoutProperties>, IDeepCloneable<LayoutProperties>, IBufferMessage, IMessageNamespace
Google.Apps.Script.TypeAssembly
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 |