SPMenuField.TextFormat property

Gets or sets the format string to be used when setting the [Text] property of the underlying [Menu] control.

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

Syntax

'Declaration
Public Property TextFormat As String
    Get
    Set
'Usage
Dim instance As SPMenuField
Dim value As String

value = instance.TextFormat

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

Property value

Type: System.String
Returns String.

See also

Reference

SPMenuField class

SPMenuField members

Microsoft.SharePoint.WebControls namespace