Adds CSS styling to controls.
When added from the Toolbox, the StyleSheet extender adds a CssClass property to all eligible controls. The source for the StyleSheet can be provided in the StyleSheetSource property of the component.
As of Wisej 2, all controls come with a CssClass and CssStyle property by default. No extender needed.
For a full list of properties, methods and events see the API documentation.
The CssClass property added from the extender allows any target control to use a CSS class that's defined in the StyleSheetSource property of the StyleSheet component.
StyleSheet Source:
Apply the CSS class to a control:
Result:
Item | Description |
---|---|
Class name
"wisej.web.extender.StyleSheet"
Source code