Share via


ToolBarButton.Text property

Gets or sets the text for the button.

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

Syntax

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

value = instance.Text

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

Property value

Type: System.String
The text to be displayed for the control.

See also

Reference

ToolBarButton class

ToolBarButton members

Microsoft.SharePoint.WebControls namespace