Dela via


IMenuItem.NumericModifiers Property

Definition

Return the modifiers for this menu item's numeric (12-key) shortcut.

public virtual int NumericModifiers { [Android.Runtime.Register("getNumericModifiers", "()I", "GetGetNumericModifiersHandler:Android.Views.IMenuItem, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)] get; }
[<get: Android.Runtime.Register("getNumericModifiers", "()I", "GetGetNumericModifiersHandler:Android.Views.IMenuItem, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)>]
member this.NumericModifiers : int

Property Value

Modifier associated with the numeric shortcut.

Attributes

Remarks

Return the modifiers for this menu item's numeric (12-key) shortcut. The modifier is a combination of KeyEvent#META_META_ON, KeyEvent#META_CTRL_ON, KeyEvent#META_ALT_ON, KeyEvent#META_SHIFT_ON, KeyEvent#META_SYM_ON, KeyEvent#META_FUNCTION_ON. For example, KeyEvent#META_FUNCTION_ON|KeyEvent#META_CTRL_ON

Java documentation for android.view.MenuItem.getNumericModifiers().

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