C# Class Crayon.StyleContext

Mostra file Open project: jamilgeor/Crayon Class Usage Examples

Private Properties

Property Type Description
InvokeStylePropertySetter void
ProcessGlobalControlSelectors void
ProcessStyleProperties void
RegisterDefaultControlDectorators void

Public Methods

Method Description
LoadStyleSheetFromFile ( string path ) : void
LoadStyleSheetFromStream ( Stream stream ) : void
LoadStyleSheetFromString ( string content ) : void
SetStyleByClass ( string styleClass, object targetControl ) : void
SetStyleById ( string styleId, object targetControl ) : void
StyleContext ( IDeviceContext deviceContext ) : System
StyleContext ( IDeviceContext deviceContext, IStyleProxy proxy, IControlDecoratorFactory decoratorFactory ) : System

Private Methods

Method Description
InvokeStylePropertySetter ( IControlDecorator controlHandler, StyleProperty property ) : void
ProcessGlobalControlSelectors ( ) : void
ProcessStyleProperties ( IEnumerable styleProperties, object control ) : void
RegisterDefaultControlDectorators ( ) : void

Method Details

LoadStyleSheetFromFile() public method

public LoadStyleSheetFromFile ( string path ) : void
path string
return void

LoadStyleSheetFromStream() public method

public LoadStyleSheetFromStream ( Stream stream ) : void
stream Stream
return void

LoadStyleSheetFromString() public method

public LoadStyleSheetFromString ( string content ) : void
content string
return void

SetStyleByClass() public method

public SetStyleByClass ( string styleClass, object targetControl ) : void
styleClass string
targetControl object
return void

SetStyleById() public method

public SetStyleById ( string styleId, object targetControl ) : void
styleId string
targetControl object
return void

StyleContext() public method

public StyleContext ( IDeviceContext deviceContext ) : System
deviceContext IDeviceContext
return System

StyleContext() public method

public StyleContext ( IDeviceContext deviceContext, IStyleProxy proxy, IControlDecoratorFactory decoratorFactory ) : System
deviceContext IDeviceContext
proxy IStyleProxy
decoratorFactory IControlDecoratorFactory
return System