WebMenuItem.Style

From Xojo Documentation

Property (As WebMenuItem.Styles )
aWebMenuItem.Style = newWebMenuItem.StylesValue
or
WebMenuItem.StylesValue = aWebMenuItem.Style

Supported for all project types and targets.

The style or type of the menu item.

Notes

The options are Header, Menu and Separator.

Sample Code

Create a new menu item and set it to be a header:

Var m As New WebMenuItem
m.Value = "Customers"
m.Style = WebMenuItem.Styles.Header

See Also

Styles enumeration.