AutomationPeerShowContextMenu Method

Shows the context menu for the element that is associated with this automation peer.

Definition

Namespace: Avalonia.Automation.Peers
Assembly: Avalonia.Controls (in Avalonia.Controls.dll) Version: 11.3.999
public bool ShowContextMenu()

Return Value

Boolean
true if a context menu is present for the element; otherwise false.

See Also