Share via


ToolBarButton.Text Property

Gets or sets the text for the button.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

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