共用方式為


CssRegistration.EnableCssTheming Property

Gets or sets a Boolean value indicating whether themes are enabled for the cascading style sheet.

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

Syntax

'Declaration
Public Property EnableCssTheming As Nullable(Of Boolean)
    Get
    Set
'Usage
Dim instance As CssRegistration
Dim value As Nullable(Of Boolean)

value = instance.EnableCssTheming

instance.EnableCssTheming = value
public Nullable<bool> EnableCssTheming { get; set; }

Property Value

Type: System.Nullable<Boolean>
true if themes are enabled; otherwise, false..

See Also

Reference

CssRegistration Class

CssRegistration Members

Microsoft.SharePoint.WebControls Namespace