BaseXsltListWebPart.CssStyleSheet Property

Gets or sets the file name of the cascading style sheet (CSS) to be registered.

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

Syntax

'Declaration
<WebPartStorageAttribute(Storage.None)> _
<WebBrowsableAttribute(False)> _
Public Overrides Property CssStyleSheet As String
    Get
    Set
'Usage
Dim instance As BaseXsltListWebPart
Dim value As String

value = instance.CssStyleSheet

instance.CssStyleSheet = value
[WebPartStorageAttribute(Storage.None)]
[WebBrowsableAttribute(false)]
public override string CssStyleSheet { get; set; }

Property Value

Type: System.String
The file name of the CSS to be registered. If not set, the CSS of the associated SPView object will be used.

See Also

Reference

BaseXsltListWebPart Class

BaseXsltListWebPart Members

Microsoft.SharePoint.WebPartPages Namespace