Share via


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:
 property bool InputDevicePrefersPrimaryCommands { bool get(); };
bool InputDevicePrefersPrimaryCommands();
public bool InputDevicePrefersPrimaryCommands { get; }
var boolean = flyoutBase.inputDevicePrefersPrimaryCommands;
Public ReadOnly Property InputDevicePrefersPrimaryCommands As Boolean

Property Value

Boolean

bool

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

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.

Applies to