AutomationPeerShowContextMenu Method
Shows the context menu for the element that is associated with this automation peer.
Namespace: Avalonia.Automation.PeersAssembly: Avalonia.Controls (in Avalonia.Controls.dll) Version: 11.3.999
public bool ShowContextMenu()
Public Function ShowContextMenu As Boolean
member ShowContextMenu : unit -> bool
Return Value
Booleantrue if a context menu is present for the element; otherwise false.