Show / Hide Table of Contents

Class CollapseControl

Represent an expand and collapse control.

Google Workspace add-ons and Chat apps:

Inheritance
object
CollapseControl
Implements
IMessage<CollapseControl>
IEquatable<CollapseControl>
IDeepCloneable<CollapseControl>
IBufferMessage
IMessage
Inherited Members
object.GetHashCode()
object.GetType()
object.ToString()
Namespace: Google.Apps.Card.V1
Assembly: Google.Apps.Card.V1.dll
Syntax
public sealed class CollapseControl : IMessage<CollapseControl>, IEquatable<CollapseControl>, IDeepCloneable<CollapseControl>, IBufferMessage, IMessage

Constructors

CollapseControl()

Declaration
public CollapseControl()

CollapseControl(CollapseControl)

Declaration
public CollapseControl(CollapseControl other)
Parameters
Type Name Description
CollapseControl other

Properties

CollapseButton

Optional. Define a customizable button to collapse the section. Both expand_button and collapse_button field must be set. Only one field set will not take into effect. If this field isn't set, the default button is used.

Declaration
public Button CollapseButton { get; set; }
Property Value
Type Description
Button

ExpandButton

Optional. Define a customizable button to expand the section. Both expand_button and collapse_button field must be set. Only one field set will not take into effect. If this field isn't set, the default button is used.

Declaration
public Button ExpandButton { get; set; }
Property Value
Type Description
Button

HorizontalAlignment

The horizontal alignment of the expand and collapse button.

Declaration
public Widget.Types.HorizontalAlignment HorizontalAlignment { get; set; }
Property Value
Type Description
Widget.Types.HorizontalAlignment
In this article
Back to top Generated by DocFX