Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 2.08 KB

radialcontrollerconfiguration_setdefaultmenuitems_1318008085.md

File metadata and controls

28 lines (20 loc) · 2.08 KB
-api-id -api-type
M:Windows.UI.Input.RadialControllerConfiguration.SetDefaultMenuItems(Windows.Foundation.Collections.IIterable{Windows.UI.Input.RadialControllerSystemMenuItemKind})
winrt method

Windows.UI.Input.RadialControllerConfiguration.SetDefaultMenuItems

-description

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.

-parameters

-param buttons

The default set of commands (RadialControllerSystemMenuItemKind) available on a RadialController menu.

-remarks

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.

-examples

-see-also

Surface Dial interactions, Universal Windows Platform samples (C# and C++), Windows desktop sample