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)

Syntax

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

value = instance.CssStyleSheet

instance.CssStyleSheet = value
[WebBrowsableAttribute(false)]
[WebPartStorageAttribute(Storage.None)]
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