Show / Hide Table of Contents

Class Grid.Types.GridItem

Represents an item in a grid layout. Items can contain text, an image, or both text and an image.

Google Workspace Add-ons and Chat apps:

Inheritance
object
Grid.Types.GridItem
Implements
IMessage<Grid.Types.GridItem>
IEquatable<Grid.Types.GridItem>
IDeepCloneable<Grid.Types.GridItem>
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 Grid.Types.GridItem : IMessage<Grid.Types.GridItem>, IEquatable<Grid.Types.GridItem>, IDeepCloneable<Grid.Types.GridItem>, IBufferMessage, IMessage

Constructors

GridItem()

Declaration
public GridItem()

GridItem(GridItem)

Declaration
public GridItem(Grid.Types.GridItem other)
Parameters
Type Name Description
Grid.Types.GridItem other

Properties

Id

A user-specified identifier for this grid item. This identifier is returned in the parent grid's onClick callback parameters.

Declaration
public string Id { get; set; }
Property Value
Type Description
string

Image

The image that displays in the grid item.

Declaration
public ImageComponent Image { get; set; }
Property Value
Type Description
ImageComponent

Layout

The layout to use for the grid item.

Declaration
public Grid.Types.GridItem.Types.GridItemLayout Layout { get; set; }
Property Value
Type Description
Grid.Types.GridItem.Types.GridItemLayout

Subtitle

The grid item's subtitle.

Declaration
public string Subtitle { get; set; }
Property Value
Type Description
string

Title

The grid item's title.

Declaration
public string Title { get; set; }
Property Value
Type Description
string
In this article
Back to top Generated by DocFX