Method SetCloseOnSelection
SetCloseOnSelection(bool)
Close the menu automatically when an item is selected.
Declaration
public MenuBuilder SetCloseOnSelection(bool value)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | value | True to close the menu automatically when an item is selected. |
Returns
| Type | Description |
|---|---|
| MenuBuilder | The MenuBuilder instance. |