Sdílet prostřednictvím


ShowAsAction Enum

Definition

Enumerates values returned by several methods of ShowAsAction and taken as a parameter of the F:Android.Views.IMenuItem.SetShowAsAction, and F:Android.Views.IMenuItem.SetShowAsActionFlags members.

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
IfRoom 1
Always 2
WithText 4
CollapseActionView 8

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