WebControlWrapper.SetupCSS

From Xojo Documentation

Event


WebControlWrapper.SetupCSS(ByRef Styles() as WebControlCSS)

Supported for all project types and targets.

Raised when it is time to set up the initial CSS for your control.

Notes

By default, the Styles array contains a single WebControlCSS style which represents the initial control. you may manipulate this style or add additional styles to the array for the current control.

The selector of the supplied style should not be modified. We suggest prefixing the selector of your styles with the ControlID of the current control, for easy reference and to avoid conflicting with other developers' controls.