共用方式為


ListMenu.SelectedCssClass Property

Gets or sets the Cascading Style Sheet (CSS) class to apply to the selected item in the list.

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

Syntax

'Declaration
Public Property SelectedCssClass As String
    Get
    Set
'Usage
Dim instance As ListMenu
Dim value As String

value = instance.SelectedCssClass

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

Property Value

Type: System.String
A string that contains the name of the CSS class.

See Also

Reference

ListMenu Class

ListMenu Members

Microsoft.SharePoint.WebControls Namespace