Class OverflowMenu.Types.OverflowMenuItem
An option that users can invoke in an overflow menu.
Implements
Namespace: Google.Apps.Card.V1
Assembly: Google.Apps.Card.V1.dll
Syntax
public sealed class OverflowMenu.Types.OverflowMenuItem : IMessage<OverflowMenu.Types.OverflowMenuItem>, IEquatable<OverflowMenu.Types.OverflowMenuItem>, IDeepCloneable<OverflowMenu.Types.OverflowMenuItem>, IBufferMessage, IMessage
Constructors
OverflowMenuItem()
Declaration
public OverflowMenuItem()
OverflowMenuItem(OverflowMenuItem)
Declaration
public OverflowMenuItem(OverflowMenu.Types.OverflowMenuItem other)
Parameters
| Type | Name | Description |
|---|---|---|
| OverflowMenu.Types.OverflowMenuItem | other |
Properties
Disabled
Whether the menu option is disabled. Defaults to false.
Declaration
public bool Disabled { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
OnClick
Required. The action invoked when a menu option is selected.
This OnClick cannot contain an OverflowMenu, any specified
OverflowMenu is dropped and the menu item disabled.
Declaration
public OnClick OnClick { get; set; }
Property Value
| Type | Description |
|---|---|
| OnClick |
StartIcon
The icon displayed in front of the text.
Declaration
public Icon StartIcon { get; set; }
Property Value
| Type | Description |
|---|---|
| Icon |
Text
Required. The text that identifies or describes the item to users.
Declaration
public string Text { get; set; }
Property Value
| Type | Description |
|---|---|
| string |