WebMenuItem.Style

From Xojo Documentation

Revision as of 18:03, 29 October 2020 by Gperlman (talk | contribs) (Created page with "{{PropertyBox | name=Style | owner=WebMenuItem | type=Styles }} {{Description |text = The style or type of the menu item. }} ==Notes== The options are Header, Menu an...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Property (As Styles )
aWebMenuItem.Style = newStylesValue
or
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.