Share via


Separator Property

The Separator property of the HtmlMenuItem class gets or sets a value indicating whether the menu item is rendered as a horizontal line (separator).

Property Value

true if the menu item is rendered as a horizontal line; otherwise, false. The default value is false.

Remarks

If the Separator property is true, the Text, TargetURL, and ImageURL properties are not used.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security