CssRegistration.Register Method

Include Protected Members
Include Inherited Members

Registers the specified cascading style sheet (CSS) in master pages, content pages, or .ascx code pages.

Overload List

  Name Description
Public methodStatic member Register(String) Registers the specified cascading style sheet (CSS) in master pages, content pages, or .ascx code pages.
Public methodStatic member Register(String, Boolean) Registers the specified cascading style sheet (CSS) in master pages, content pages, or .ascx code pages, and specifies whether to reference the themed version of this CSS file if a theme is applied.
Public methodStatic member Register(String, String) Registers the specified cascading style sheet (CSS) in master pages, content pages, or .ascx code pages, and specifies the user interface (UI) version with which the style sheet is compatible.
Public methodStatic member Register(String, Boolean, String) Registers the specified cascading style sheet (CSS) in master pages, content pages, or .ascx code pages, and specifies the user interface (UI) version with which the style sheet is compatible, and whether to reference the themed version of this CSS file if a theme is applied.
Public methodStatic member Register(String, String, Boolean) Registers the specified cascading style sheet (CSS) in master pages, content pages, or .ascx code pages using the specified conditional expression, and specifies whether to reveal to internet browsers other than Internet Explorer.
Public methodStatic member Register(String, String, Boolean, String) Registers the specified cascading style sheet (CSS) in master pages, content pages, or .ascx code pages using the specified conditional expression, and specifies the user interface (UI) version with which the style sheet is compatible, and whether to reveal to internet browsers other than Internet Explorer.

Top

See Also

Reference

CssRegistration Class

CssRegistration Members

Microsoft.SharePoint.WebControls Namespace