Table of Contents

Class MenuUtils

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

Provides utility methods for working with menus and menu items.

public static class MenuUtils
Inheritance
MenuUtils

Properties

Factory

Gets or sets the factory responsible for creating menu instances.

Methods

BindContextMenuEventsLogger(ContextMenu?, BindMenuLoggerFlags)

Attaches debug logging handlers to the specified context menu's events.

BindMenuItemEventsLogger(MenuItem?, BindMenuLoggerFlags)

Attaches event handlers to the specified MenuItem to log its Opened, Closed, and Highlighted events.

Required()

Ensures that the required dependencies or configurations are initialized.