StyleProvider

[ Class ]

Provides functions for manipulating HTML elements in controls.

Static functions

Name

Description

getSimpleElementStyle

Returns all set CSS properties of an HTML element.

getSimpleElementStyle

Returns several set CSS properties of an HTML element

getSimpleElementStyle

Returns a set CSS property of an HTML element.

getComputedElementStyle

Returns all active CSS properties of an HTML element.

getComputedElementStyle

Returns several active CSS properties of an HTML element

getComputedElementStyle

Returns an active CSS property of an HTML element.

setSimpleElementStyle

Sets a CSS property for one or more HTML elements.

setSimpleElementStyle

Sets multiple values for one or more HTML elements on a CSS property.

setSimpleElementStyle

Sets multiple CSS properties for one or more HTML elements.

processGenericStyle

Sets a CSS property for one or more dynamic HTML elements.

processGenericStyle

Sets multiple CSS properties for one or more dynamic HTML elements.

processBackground

Sets multiple background properties for one or more HTML elements.

processBackgroundColor

Sets a background color for one or more HTML elements.

processBackgroundImage

Sets a background image for one or more HTML elements.

processBorderColor

Sets a border color for one or more HTML elements.

processBorderWidth

Sets a border thickness for one or more HTML elements.

processBorderRadius

Sets a border radius for one or more HTML elements.

processBorderStyle

Sets a border style for one or more HTML elements.

processTextColor

Sets a text color for one or more HTML elements.

processFontFamily

Sets a font family for one or more HTML elements.

processFontSize

Sets a font size for one or more HTML elements.

processFontStyle

Sets a font style (normal, italic) for one or more HTML elements.

processFontWeight

Sets a font weight (normal, bold) for one or more HTML elements.

processFillColor

Sets the fill attribute for one or more SVG elements

processStrokeColor

Sets the stroke attribute for one or more SVG elements

processBoxShadow

Sets the CSS boxshadow property for one or more HTML elements

processVisibility

Sets the visibility for one or more HTML elements

processContentHorizontalAlignment

Sets the horizontal alignment of one or more HTML elements

processContentVerticalAlignment

Sets the vertical alignment of one or more HTML elements

processContentPadding

Sets the padding for one or more HTML elements

processTransform

Sets the CSS transform property for one or more HTML elements

resolveSolidColorAsCssValue

Resolves a SolidColor value into a CSS property.

resolveLinearGradientColorAsCssValue

Resolves a LinearGradientColor value into a CSS property.

StyleProvider 1:

Available from 1.8