MenuItem.

Close() Method

Summary

Closes the submenu.
Namespace
Avalonia.Controls
Containing Type
MenuItem

Syntax

public void Close()

Remarks

This has the same effect as setting IsSubMenuOpen to false.

Return Value

Type Description
void