Ext.Net.CSS.CreateStyleSheet C# (CSharp) Method

CreateStyleSheet() public static method

Creates a stylesheet from a text blob of rules. These rules will be wrapped in a STYLE tag and appended to the HEAD of the document.
public static CreateStyleSheet ( string cssText, string id ) : void
cssText string The text containing the css rules
id string An id to add to the stylesheet for later removal
return void
        public static void CreateStyleSheet(string cssText, string id)
        {
            new CSS().Call("createStyleSheet", cssText, id);
        }