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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-05 UTC."],[[["The `LayoutProperties` class in the `Google.Apps.Script.Type` namespace provides settings for the visual layout of add-ons across various host applications."],["This class implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, and inherits from `object`, showcasing its capabilities for message handling, equality checks, deep cloning, and buffer management."],["`LayoutProperties` has two constructors: a default constructor and one that accepts another `LayoutProperties` instance for copying, providing flexibility in object creation."],["The class offers two properties, `PrimaryColor` and `SecondaryColor`, both of type string, allowing developers to customize the add-on's toolbar and button colors, respectively, with default colors being applied if not explicitly set."],["The latest version of the documentation, version 2.3.0, is available for the LayoutProperties class, with past versions 2.2.0 down to 1.0.0 also available."]]],[]]