public sealed class LayoutProperties : IMessage<LayoutProperties>, IEquatable<LayoutProperties>, IDeepCloneable<LayoutProperties>, IBufferMessage, IMessage
Card layout properties shared across all add-on host applications.
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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-02 UTC."],[[["This page provides documentation for the `LayoutProperties` class, which is used to define shared card layout properties for add-on host applications within the Google Apps Script environment."],["`LayoutProperties` is a sealed class inheriting from `Object` and implementing multiple interfaces including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The class includes two constructors: a default constructor `LayoutProperties()` and a copy constructor `LayoutProperties(LayoutProperties other)`."],["The `LayoutProperties` class offers `PrimaryColor` and `SecondaryColor` properties to customize the add-on's toolbar and button colors, with default framework values used when these properties are not set."],["This documentation covers versions ranging from 1.0.0 up to the most recent 2.3.0, with version 1.1.0 being the one discussed on the page, however."]]],[]]