Share via


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