PublishingButton.DisplayText property

Gets or sets the text that is shown when this button is displayed.

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

Syntax

'Declaration
Public Property DisplayText As String
    Get
    Set
'Usage
Dim instance As PublishingButton
Dim value As String

value = instance.DisplayText

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

Property value

Type: System.String
String that represents the text that is rendered in the user interface (UI) of the button.

See also

Reference

PublishingButton class

PublishingButton members

Microsoft.SharePoint.Publishing.WebControls namespace

PublishingButton