Language

ShowAsAction Enum

Definition

Specifies how a menu item is presented as an action.

This enumeration supports a bitwise combination of its member values.

[System.Flags]
public enum ShowAsAction
[<System.Flags>]
type ShowAsAction = 
Inheritance
ShowAsAction
Attributes

Fields

Name Value Description
Never 0

Indicates the never action-menu presentation option.

IfRoom 1

Indicates the if room action-menu presentation option.

Always 2

Indicates the always action-menu presentation option.

WithText 4

Indicates the with text action-menu presentation option.

CollapseActionView 8

Indicates the collapse action view action-menu presentation option.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to