C# Class Yuhan.WPF.XamlToHtmlParser.CssStylesheet

Mostra file Open project: hansuky/Yuhan Class Usage Examples

Public Methods

Method Description
AddStyleDefinition ( string selector, string definition ) : void
CssStylesheet ( XmlElement htmlElement ) : System
DiscoverStyleDefinitions ( XmlElement htmlElement ) : void
GetStyle ( string elementName, List sourceContext ) : string

Private Methods

Method Description
MatchSelectorLevel ( string selectorLevel, XmlElement xmlElement ) : bool
RemoveComments ( string text ) : string

Method Details

AddStyleDefinition() public method

public AddStyleDefinition ( string selector, string definition ) : void
selector string
definition string
return void

CssStylesheet() public method

public CssStylesheet ( XmlElement htmlElement ) : System
htmlElement System.Xml.XmlElement
return System

DiscoverStyleDefinitions() public method

public DiscoverStyleDefinitions ( XmlElement htmlElement ) : void
htmlElement System.Xml.XmlElement
return void

GetStyle() public method

public GetStyle ( string elementName, List sourceContext ) : string
elementName string
sourceContext List
return string