Table of Contents

Interface IContextMenuHost

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

Represents a contract for an object that provides a AbstractControl to serve as the host for a context menu.

public interface IContextMenuHost

Remarks

Implementations of this interface expose a AbstractControl that can be used as the placement target or logical parent for a context menu. This is typically used in scenarios where context menus need to be dynamically associated with UI elements.

Properties

ContextMenuHost

Gets the AbstractControl that serves as the host for the context menu.

IsVisible

Gets a value indicating whether the context menu host is currently visible.