Class OverflowMenu
A widget that presents a pop-up menu with one or more actions that users can
invoke. For example, showing non-primary actions in a card. You can use this
widget when actions don't fit in the available space. To use, specify this
widget in the OnClick
action of widgets that support it. For example, in a
Button
.
Implements
Namespace: Google.Apps.Card.V1
Assembly: Google.Apps.Card.V1.dll
Syntax
public sealed class OverflowMenu : IMessage<OverflowMenu>, IEquatable<OverflowMenu>, IDeepCloneable<OverflowMenu>, IBufferMessage, IMessage
Constructors
OverflowMenu()
Declaration
public OverflowMenu()
OverflowMenu(OverflowMenu)
Declaration
public OverflowMenu(OverflowMenu other)
Parameters
Type | Name | Description |
---|---|---|
OverflowMenu | other |
Properties
Items
Required. The list of menu options.
Declaration
public RepeatedField<OverflowMenu.Types.OverflowMenuItem> Items { get; }
Property Value
Type | Description |
---|---|
RepeatedField<OverflowMenu.Types.OverflowMenuItem> |