RadialControllerConfiguration.SetDefaultMenuItems Method
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.
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.
public:
virtual void SetDefaultMenuItems(IIterable<RadialControllerSystemMenuItemKind> ^ buttons) = SetDefaultMenuItems;
void SetDefaultMenuItems(IIterable<RadialControllerSystemMenuItemKind> const& buttons);
public void SetDefaultMenuItems(IEnumerable<RadialControllerSystemMenuItemKind> buttons);
function setDefaultMenuItems(buttons)
Public Sub SetDefaultMenuItems (buttons As IEnumerable(Of RadialControllerSystemMenuItemKind))
Parameters
- 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.