From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

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

Supported for all project types and targets.

The style or type of the menu item.


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.