FlyoutBase.InputDevicePrefersPrimaryCommands FlyoutBase.InputDevicePrefersPrimaryCommands FlyoutBase.InputDevicePrefersPrimaryCommands FlyoutBase.InputDevicePrefersPrimaryCommands Property

Definition

Gets a value that indicates whether the input device used to open the flyout does not easily open the secondary commands.

public : Platform::Boolean InputDevicePrefersPrimaryCommands { get; }
bool InputDevicePrefersPrimaryCommands();
public bool InputDevicePrefersPrimaryCommands { get; }
Public ReadOnly Property InputDevicePrefersPrimaryCommands As bool

Property Value

bool bool

true if the input device used to open the flyout does not easily open the secondary commands; otherwise, false.

Additional features and requirements

Device family
Windows 10, version 1809 (introduced v10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v7)

Remarks

Some input devices, such as touch or gaze, do not easily open the secondary commands menu, which requires a click in the open flyout. In these cases, you can move commands from the secondary command menu to the primary command bar to provide easier access using these inputs.