FlyoutBase.InputDevicePrefersPrimaryCommands Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.