RadialControllerConfiguration.SetDefaultMenuItems(IIterable<RadialControllerSystemMenuItemKind>) RadialControllerConfiguration.SetDefaultMenuItems(IIterable<RadialControllerSystemMenuItemKind>) RadialControllerConfiguration.SetDefaultMenuItems(IIterable<RadialControllerSystemMenuItemKind>) RadialControllerConfiguration.SetDefaultMenuItems(IIterable<RadialControllerSystemMenuItemKind>) RadialControllerConfiguration.SetDefaultMenuItems(IIterable<RadialControllerSystemMenuItemKind>) Method

Definition

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 : void SetDefaultMenuItems(IIterable<RadialControllerSystemMenuItemKind> buttons)
void SetDefaultMenuItems(IIterable<RadialControllerSystemMenuItemKind> buttons) const;
public void SetDefaultMenuItems(IEnumerable<RadialControllerSystemMenuItemKind> buttons)
Public Sub SetDefaultMenuItems(buttons As IEnumerable(Of RadialControllerSystemMenuItemKind))
radialControllerConfiguration.setDefaultMenuItems(buttons);

Parameters

buttons
IEnumerable<RadialControllerSystemMenuItemKind> IEnumerable<RadialControllerSystemMenuItemKind> IEnumerable<RadialControllerSystemMenuItemKind>

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.

See also