Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

WebPart.CssStyleSheet property

The CSS file that needs to be registered on a page for this webpart. If this is set, CssRegistration.Register(filename) is called in this property during the OnPreRender() event. To register more Css style sheets, use CssRegistration.Register()

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
public virtual string CssStyleSheet { get; set; }

Property value

Type: System.String
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.