HtmlMenuItem.Separator Property
Gets or sets a value indicating whether the menu item is rendered as a separating horizontal line.
Namespace: Microsoft.SharePoint.Portal.WebControls
Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)
Syntax
'Declaration
Public Property Separator As Boolean
Get
Set
'Usage
Dim instance As HtmlMenuItem
Dim value As Boolean
value = instance.Separator
instance.Separator = value
public bool Separator { get; set; }
Property Value
Type: System.Boolean
true if the menu item is rendered as a separating horizontal line; otherwise, false. The default value is false.
Remarks
If the Separator property is true, all other properties are ignored when the HtmlMenuItem is rendered.