C# Class Crayon.StyleContext

Afficher le fichier Open project: jamilgeor/Crayon Class Usage Examples

Private Properties

Свойство Type Description
InvokeStylePropertySetter void
ProcessGlobalControlSelectors void
ProcessStyleProperties void
RegisterDefaultControlDectorators void

Méthodes publiques

Méthode 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

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

Method Details

LoadStyleSheetFromFile() public méthode

public LoadStyleSheetFromFile ( string path ) : void
path string
Résultat void

LoadStyleSheetFromStream() public méthode

public LoadStyleSheetFromStream ( Stream stream ) : void
stream Stream
Résultat void

LoadStyleSheetFromString() public méthode

public LoadStyleSheetFromString ( string content ) : void
content string
Résultat void

SetStyleByClass() public méthode

public SetStyleByClass ( string styleClass, object targetControl ) : void
styleClass string
targetControl object
Résultat void

SetStyleById() public méthode

public SetStyleById ( string styleId, object targetControl ) : void
styleId string
targetControl object
Résultat void

StyleContext() public méthode

public StyleContext ( IDeviceContext deviceContext ) : System
deviceContext IDeviceContext
Résultat System

StyleContext() public méthode

public StyleContext ( IDeviceContext deviceContext, IStyleProxy proxy, IControlDecoratorFactory decoratorFactory ) : System
deviceContext IDeviceContext
proxy IStyleProxy
decoratorFactory IControlDecoratorFactory
Résultat System