CssStylesheetInfoProvider RegisterCssPreprocessor Method Kentico 8.0 API Reference
Use this method to register custom CSS dynamic language and its parser.

Namespace: CMS.PortalEngine
Assembly: CMS.PortalEngine (in CMS.PortalEngine.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

name
Type: OnlineSystem String
Dynamic language name
extension
Type: OnlineSystem String
File extension associated with the dynamic language
displayName
Type: OnlineSystem String
Dynamic language name used for displaying in the user interface
callback
Type: OnlineSystem Func CssEventArgs, OnlineString 
Callback function which the source CSS code is passed to process
registerClientCompilationScripts (Optional)
Type: OnlineSystem Action OnlinePage 
Method that ensures registration of client scripts required for client-side compilation
getErrorDescription (Optional)
Type: OnlineSystem Func OnlineString, OnlineString 
Method used to get formatted error message
See Also