C# 클래스 Ext.Net.CSS

상속: ScriptClass
파일 보기 프로젝트 열기: pgodwin/Ext.net

공개 메소드들

메소드 설명
CreateStyleSheet ( string cssText, string id ) : void

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.

RefreshCache ( ) : void

Refresh the rule cache if you have dynamically added stylesheets

RemoveStyleSheet ( string id ) : void

Removes a style or link tag by id

SwapStyleSheet ( string id, string url ) : void

Dynamically swaps an existing stylesheet reference for a new one

ToScript ( ) : string

UpdateRule ( string selector, string property, string value ) : void

Updates a rule property

보호된 메소드들

메소드 설명
CallCSS ( string name ) : void

메소드 상세

CallCSS() 보호된 메소드

protected CallCSS ( string name ) : void
name string
리턴 void

CreateStyleSheet() 공개 정적인 메소드

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
리턴 void

RefreshCache() 공개 정적인 메소드

Refresh the rule cache if you have dynamically added stylesheets
public static RefreshCache ( ) : void
리턴 void

RemoveStyleSheet() 공개 정적인 메소드

Removes a style or link tag by id
public static RemoveStyleSheet ( string id ) : void
id string The id of the tag
리턴 void

SwapStyleSheet() 공개 정적인 메소드

Dynamically swaps an existing stylesheet reference for a new one
public static SwapStyleSheet ( string id, string url ) : void
id string The id of an existing link tag to remove
url string The href of the new stylesheet to include
리턴 void

ToScript() 공개 메소드

public ToScript ( ) : string
리턴 string

UpdateRule() 공개 정적인 메소드

Updates a rule property
public static UpdateRule ( string selector, string property, string value ) : void
selector string Selector to update
property string The css property
value string The new value for the property
리턴 void