-api-id | -api-type |
---|---|
M:Windows.UI.Input.RadialControllerConfiguration.TrySelectDefaultMenuItem(Windows.UI.Input.RadialControllerSystemMenuItemKind) |
winrt method |
Attempts to select and activate a tool from the collection of built-in RadialController tools supported for the current app context.
The built-in tool to select and activate.
true if the tool can be selected; otherwise false.
RadialController menu operations, including CreateFromKnownIcon, CreateFromIcon, CreateFromFontGlyph, CreateFromFontGlyph, ResetToDefaultMenuItems, SetDefaultMenuItems, and TrySelectDefaultMenuItem, should be performed on the UI thread. Doing so in a background worker thread can cause issues with event handlers on the UI thread.
Surface Dial interactions, Universal Windows Platform samples (C# and C++), Windows desktop sample