C# Class ExoWeb.Templates.MicrosoftAjax.AttributeHelper

Afficher le fichier Open project: vc3/ExoWeb

Méthodes publiques

Méthode Description
EnsureClassName ( string classValue, string className ) : string
EnsureCssStyle ( string styleValue, string property, string value ) : string
GetCssStyle ( string styleValue, string property ) : string
HasClassName ( string classValue, string className ) : bool
HasCssStyle ( string styleValue, string property ) : bool
RemoveClassName ( string classValue, string className ) : string
RemoveCssStyle ( string styleValue, string property ) : string

Private Methods

Méthode Description
BuildClassRegex ( string className ) : Regex
BuildCssRegex ( string property ) : Regex

Method Details

EnsureClassName() public static méthode

public static EnsureClassName ( string classValue, string className ) : string
classValue string
className string
Résultat string

EnsureCssStyle() public static méthode

public static EnsureCssStyle ( string styleValue, string property, string value ) : string
styleValue string
property string
value string
Résultat string

GetCssStyle() public static méthode

public static GetCssStyle ( string styleValue, string property ) : string
styleValue string
property string
Résultat string

HasClassName() public static méthode

public static HasClassName ( string classValue, string className ) : bool
classValue string
className string
Résultat bool

HasCssStyle() public static méthode

public static HasCssStyle ( string styleValue, string property ) : bool
styleValue string
property string
Résultat bool

RemoveClassName() public static méthode

public static RemoveClassName ( string classValue, string className ) : string
classValue string
className string
Résultat string

RemoveCssStyle() public static méthode

public static RemoveCssStyle ( string styleValue, string property ) : string
styleValue string
property string
Résultat string