Partager via


HtmlMenuItem.Separator, propriété (Microsoft.SharePoint.Portal.WebControls)

Gets or sets a value indicating whether the menu item is rendered as a horizontal line (separator).

Espace de noms : Microsoft.SharePoint.Portal.WebControls
Assembly : Microsoft.SharePoint.Portal (dans microsoft.sharepoint.portal.dll)

Syntaxe

'Déclaration
Public Property Separator As Boolean
'Utilisation
Dim instance As HtmlMenuItem
Dim value As Boolean

value = instance.Separator

instance.Separator = value
public bool Separator { get; set; }

Valeur de la propriété

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

Remarques

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

Voir aussi

Référence

HtmlMenuItem, classe
Membres HtmlMenuItem
Microsoft.SharePoint.Portal.WebControls, espace de noms