Share via


HtmlMenuButton.Text Property

Gets or sets the label that appears in the link contained in the menu button.

Namespace:  Microsoft.SharePoint.Portal.WebControls
Assembly:  Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Syntax

'Declaration
Public Property Text As String
    Get
    Set
'Usage
Dim instance As HtmlMenuButton
Dim value As String

value = instance.Text

instance.Text = value
public string Text { get; set; }

Property Value

Type: System.String
A string that represents the label that appears in the link contained in the menu button.

See Also

Reference

HtmlMenuButton Class

HtmlMenuButton Members

Microsoft.SharePoint.Portal.WebControls Namespace