Skip to main content

ShowsMenu Property

Gets a value indicating whether expanding the element shows a menu of items to the user, such as drop-down list.

Definition

Namespace: Avalonia.Automation.Provider
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)

bool ShowsMenu { get; }
View Source

Property Value

Boolean

Remarks

Used in OSX to allow accessibilityPerformShowMenu to open expandable controls such as a ComboBox; in macOS, a combo box drop-down is considered a menu.

WindowsNo mapping.
macOSWhen true, NSAccessibilityProtocol.accessibilityPerformShowMenu will cause the Expand() method to be triggered.

See Also

Reference

IExpandCollapseProvider Interface
Avalonia.Automation.Provider Namespace