Skip to main content

StaysOpenOnClick Property

Gets or sets a value that indicates the submenu that this MenuItem is within should not close when this item is clicked.

Definition

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

public bool StaysOpenOnClick { get; set; }

Property Value

Boolean

See Also

Reference

MenuItem Class
Avalonia.Controls Namespace