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.
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-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eLayoutProperties\u003c/code\u003e class within the \u003ccode\u003eGoogle.Apps.Script.Type\u003c/code\u003e namespace provides a way to define card layout properties for add-on host applications.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, offering functionalities like message handling and deep cloning.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eLayoutProperties\u003c/code\u003e allows customization of the add-on's appearance through two properties: \u003ccode\u003ePrimaryColor\u003c/code\u003e, which sets the toolbar color, and \u003ccode\u003eSecondaryColor\u003c/code\u003e, which sets the button colors.\u003c/p\u003e\n"],["\u003cp\u003eThere are multiple versions of the \u003ccode\u003eGoogle.Apps.Script.Type.LayoutProperties\u003c/code\u003e class available, ranging from version 1.0.0 up to the latest version 2.3.0, demonstrating its ongoing development and updates.\u003c/p\u003e\n"],["\u003cp\u003eThe class inherits from the base \u003ccode\u003eobject\u003c/code\u003e class, using some of its methods like \u003ccode\u003eGetHashCode()\u003c/code\u003e, \u003ccode\u003eGetType()\u003c/code\u003e, and \u003ccode\u003eToString()\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]