Skip to main content

ShowContextMenu 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)

public bool ShowContextMenu()

Return Value

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

See Also

Reference

AutomationPeer Class
Avalonia.Automation.Peers Namespace