RadialControllerConfiguration.SetDefaultMenuItems 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:
 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

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.

Applies to

See also