Share via


SPMenuField.TextCssClass property

Gets or sets the CSS class string to be used when setting the [TextCssClass] property of the underlying [Menu] control.

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

Syntax

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

value = instance.TextCssClass

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

Property value

Type: System.String
A string value specifying the CSS class name or names.

See also

Reference

SPMenuField class

SPMenuField members

Microsoft.SharePoint.WebControls namespace