-api-id | -api-type |
---|---|
M:Windows.UI.Input.RadialControllerConfiguration.SetDefaultMenuItems(Windows.Foundation.Collections.IIterable{Windows.UI.Input.RadialControllerSystemMenuItemKind}) |
winrt method |
Specifies which built-in tools are shown on the RadialController menu.
Important
When present, the InkToolbar adds two custom tools to the RadialController menu (pen and stroke size). These tools are not accessible through RadialController APIs such as Items or SetDefaultMenuItems.
The default set of commands (RadialControllerSystemMenuItemKind) available on a RadialController menu.
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