مشاركة عبر


RequiredUINavigationButtons Enum

Definition

Specifies the buttons that are required to be available on a controller that appears as a navigation controller.

This enumeration supports a bitwise combination of its member values.

public enum class RequiredUINavigationButtons
/// [System.Flags]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
enum class RequiredUINavigationButtons
[System.Flags]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
public enum RequiredUINavigationButtons
var value = Windows.Gaming.Input.RequiredUINavigationButtons.none
Public Enum RequiredUINavigationButtons
Inheritance
RequiredUINavigationButtons
Attributes

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)

Fields

Name Value Description
None 0

No required buttons.

Menu 1

Menu button is required.

View 2

View button is required.

Accept 4

Accept button is required.

Cancel 8

Cancel button is required.

Up 16

Up button is required.

Down 32

Down button is required.

Left 64

Left button is required.

Right 128

Right button is required.

Applies to