Läs på engelska

Dela via


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.

C#
[System.Flags]
public enum 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

Produkt Versioner
.NET for Android .NET for Android API 34, .NET for Android API 35