StyleProvider
[ Class ]
Provides functions for manipulating HTML elements in controls.
Static functions
Name |
Description |
---|---|
Returns all set CSS properties of an HTML element. | |
Returns several set CSS properties of an HTML element | |
Returns a set CSS property of an HTML element. | |
Returns all active CSS properties of an HTML element. | |
Returns several active CSS properties of an HTML element | |
Returns an active CSS property of an HTML element. | |
Sets a CSS property for one or more HTML elements. | |
Sets multiple values for one or more HTML elements on a CSS property. | |
Sets multiple CSS properties for one or more HTML elements. | |
Sets a CSS property for one or more dynamic HTML elements. | |
Sets multiple CSS properties for one or more dynamic HTML elements. | |
Sets multiple background properties for one or more HTML elements. | |
Sets a background color for one or more HTML elements. | |
Sets a background image for one or more HTML elements. | |
Sets a border color for one or more HTML elements. | |
Sets a border thickness for one or more HTML elements. | |
Sets a border radius for one or more HTML elements. | |
Sets a border style for one or more HTML elements. | |
Sets a text color for one or more HTML elements. | |
Sets a font family for one or more HTML elements. | |
Sets a font size for one or more HTML elements. | |
Sets a font style (normal, italic) for one or more HTML elements. | |
Sets a font weight (normal, bold) for one or more HTML elements. | |
Sets the fill attribute for one or more SVG elements | |
Sets the stroke attribute for one or more SVG elements | |
Sets the CSS boxshadow property for one or more HTML elements | |
Sets the visibility for one or more HTML elements | |
Sets the horizontal alignment of one or more HTML elements | |
Sets the vertical alignment of one or more HTML elements | |
Sets the padding for one or more HTML elements | |
Sets the CSS transform property for one or more HTML elements | |
Resolves a SolidColor value into a CSS property. | |
Resolves a LinearGradientColor value into a CSS property. |
Available from 1.8 |
- getSimpleElementStyle
- getSimpleElementStyle
- getSimpleElementStyle
- getComputedElementStyle
- getComputedElementStyle
- getComputedElementStyle
- setSimpleElementStyle
- setSimpleElementStyle
- setSimpleElementStyle
- processGenericStyle
- processGenericStyle
- processBackground
- processBackgroundColor
- processBackgroundImage
- processBorderColor
- processBorderWidth
- processBorderRadius
- processBorderStyle
- processTextColor
- processFontFamily
- processFontSize
- processFontStyle
- processFontWeight
- processFillColor
- processStrokeColor
- processBoxShadow
- processVisibility
- processContentHorizontalAlignment
- processContentVerticalAlignment
- processContentPadding
- processTransform
- resolveSolidColorAsCssValue
- resolveLinearGradientColorAsCssValue