WebUIControl.Style

From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Property (As WebStyle )
aWebUIControl.Style = newWebStyleValue
or
WebStyleValue = aWebUIControl.Style

New in 2020r1

Supported for all project types and targets.

The WebStyle for the control.

Sample Code

In the Pressed event of a WebButton, set the text to bold:

Var style As New WebStyle
style.Bold = True
Me.Style = style