Log In
Home
Support
Demos
Documentation
Blogs
Training
Webinars
[Expand]General Information
[Expand]WinForms Controls
[Collapse]ASP.NET Controls and MVC Extensions
 [Expand]Prerequisites
 [Expand]What's Installed
 [Expand]Common Concepts
 [Expand]ASP.NET WebForms Controls
 [Expand]ASP.NET MVC Extensions
 [Expand]Localization
 [Expand]Redistribution and Deployment
  Get More Help
 [Collapse]API Reference
  [Expand]DevExpress.Data.Linq
  [Expand]DevExpress.Web
  [Expand]DevExpress.Web.ASPxGauges
  [Expand]DevExpress.Web.ASPxGauges.Base
  [Expand]DevExpress.Web.ASPxGauges.Scripts
  [Expand]DevExpress.Web.ASPxHtmlEditor
  [Expand]DevExpress.Web.ASPxHtmlEditor.Localization
  [Expand]DevExpress.Web.ASPxHtmlEditor.Scripts
  [Expand]DevExpress.Web.ASPxPivotGrid
  [Expand]DevExpress.Web.ASPxPivotGrid.Data
  [Expand]DevExpress.Web.ASPxPivotGrid.HtmlControls
  [Expand]DevExpress.Web.ASPxPivotGrid.Scripts
  [Expand]DevExpress.Web.ASPxRichEdit
  [Expand]DevExpress.Web.ASPxRichEdit.Localization
  [Expand]DevExpress.Web.ASPxRichEdit.Scripts
  [Expand]DevExpress.Web.ASPxScheduler
  [Expand]DevExpress.Web.ASPxScheduler.Controls
  [Expand]DevExpress.Web.ASPxScheduler.Drawing
  [Expand]DevExpress.Web.ASPxScheduler.Localization
  [Expand]DevExpress.Web.ASPxScheduler.Reporting
  [Expand]DevExpress.Web.ASPxScheduler.Scripts
  [Expand]DevExpress.Web.ASPxSpellChecker
  [Expand]DevExpress.Web.ASPxSpellChecker.Localization
  [Expand]DevExpress.Web.ASPxSpellChecker.Scripts
  [Expand]DevExpress.Web.ASPxSpreadsheet
  [Expand]DevExpress.Web.ASPxSpreadsheet.Localization
  [Expand]DevExpress.Web.ASPxSpreadsheet.Scripts
  [Expand]DevExpress.Web.ASPxTreeList
  [Expand]DevExpress.Web.ASPxTreeList.Localization
  [Expand]DevExpress.Web.ASPxTreeList.Scripts
  [Expand]DevExpress.Web.Captcha
  [Expand]DevExpress.Web.Data
  [Expand]DevExpress.Web.Internal
  [Expand]DevExpress.Web.Localization
  [Expand]DevExpress.Web.Mvc
  [Expand]DevExpress.Web.Mvc.BinderSettings
  [Expand]DevExpress.Web.Mvc.Controllers
  [Expand]DevExpress.Web.MVC.Scripts
  [Collapse]DevExpress.Web.Mvc.UI
   [Collapse]ExtensionsFactory Class
     ExtensionsFactory Members
    [Expand]ExtensionsFactory Properties
    [Collapse]ExtensionsFactory Methods
     [Expand]AppointmentRecurrenceForm Method
     [Expand]BinaryImage Method
     [Expand]Button Method
     [Expand]ButtonEdit Method
     [Expand]Calendar Method
     [Expand]CallbackPanel Method
     [Expand]Captcha Method
     [Expand]CardView Method
     [Expand]CardView<CardType> Method
     [Expand]Chart Method
     [Expand]CheckBox Method
     [Expand]CheckBoxList Method
     [Expand]ColorEdit Method
     [Expand]ComboBox Method
     [Expand]DataView Method
     [Expand]DateEdit Method
     [Expand]DateNavigator Method
     [Expand]DockManager Method
     [Expand]DockPanel Method
     [Expand]DockZone Method
     [Expand]DocumentViewer Method
     [Expand]DropDownEdit Method
     [Expand]FileManager Method
      GetScripts Method
     [Expand]GetStyleSheets Method
     [Expand]GridLookup Method
     [Expand]GridView Method
     [Expand]GridView<RowType> Method
     [Expand]Hint Method
     [Expand]HtmlEditor Method
     [Expand]HyperLink Method
     [Expand]Image Method
     [Expand]ImageGallery Method
     [Expand]ImageSlider Method
     [Expand]ImageZoom Method
     [Expand]ImageZoomNavigator Method
     [Expand]Label Method
     [Expand]ListBox Method
     [Expand]LoadingPanel Method
     [Expand]Memo Method
     [Expand]Menu Method
     [Expand]NavBar Method
     [Expand]PageControl Method
     [Expand]Panel Method
     [Expand]PivotCustomizationExtension Method
     [Expand]PivotGrid Method
     [Expand]PopupControl Method
     [Expand]PopupMenu Method
     [Expand]ProgressBar Method
     [Expand]RadioButton Method
     [Expand]RadioButtonList Method
     [Expand]RatingControl Method
      RenderScripts Method
     [Collapse]RenderStyleSheets Method
       RenderStyleSheets(Page, StyleSheet[]) Method
       RenderStyleSheets(Page, String, StyleSheet[]) Method
     [Expand]ReportDesigner Method
     [Expand]ReportToolbar Method
     [Expand]ReportViewer Method
     [Expand]Ribbon Method
     [Expand]RichEdit Method
     [Expand]RoundPanel Method
     [Expand]Scheduler Method
     [Expand]SchedulerStatusInfo Method
     [Expand]SpellChecker Method
     [Expand]SpinEdit Method
     [Expand]Splitter Method
     [Expand]Spreadsheet Method
     [Expand]TabControl Method
     [Expand]TextBox Method
     [Expand]TimeEdit Method
     [Expand]TimeZoneEdit Method
     [Expand]TokenBox Method
     [Expand]TrackBar Method
     [Expand]TreeList Method
     [Expand]TreeList<RowType> Method
     [Expand]TreeView Method
     [Expand]UploadControl Method
     [Expand]ValidationSummary Method
     [Expand]VerticalGrid Method
     [Expand]VerticalGrid<ColumnType> Method
     [Expand]WebDocumentViewer Method
   [Expand]ExtensionsFactory<ModelType> Class
    ExtensionSuite Enumeration
    ExtensionType Enumeration
   [Expand]HtmlHelperExtension Class
   [Expand]ResourceItem Class
   [Expand]Script Class
   [Expand]StyleSheet Class
  [Expand]DevExpress.Web.Office
  [Expand]DevExpress.Web.Office.Internal
  [Expand]DevExpress.Web.Rendering
  [Expand]DevExpress.Web.Scripts
  [Expand]DevExpress.XtraCharts.Web
  [Expand]DevExpress.XtraCharts.Web.Designer
  [Expand]DevExpress.XtraCharts.Web.Scripts
[Expand]ASP.NET Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Document Server
[Expand]Reporting
[Expand]Report Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

ExtensionsFactory.RenderStyleSheets(Page, String, StyleSheet[]) Method

Renders the specified style sheets in the response.

Namespace:DevExpress.Web.Mvc.UI
Assembly:DevExpress.Web.Mvc.v17.1.dll

Expanded Syntax

Parameters

page
Type: Page
The page object.
clientUIControlColorScheme
Type: String
A string value specifying the color scheme for client controls ("light" or "dark").
cssItems
Type: StyleSheet[]
An array of StyleSheet objects defining the attached style sheets.

Expanded Remarks

The RenderStyleSheets method is used to attach the necessary stylesheet files of the desired DevExpress theme. This method should be called within the HEAD tag of view pages (in most cases, it's reasonable to call it in the Site.Master page).

See Applying Themes to learn more.

Expanded See Also

How would you rate this topic?​​​​​​​