WebControlCSS

From Xojo Documentation

Class (inherits from Object)


New in 2012r2

A class for manipulating a CSS style. This class is basically a String-only clone of the dictionary class designed solely for the purpose of manipulating CSS stylesheets from within a custom web control using the WebControlWrapper class.

Properties
InlineValue fa-lock-32.png Selector StringValue fa-lock-32.png


Methods
Clear Parse Value
Count PropertyName Values
HasProperty PropertyNames
Lookup Remove


Shared Methods
Convert


Operators
Operator_Add Operator_Subtract

Example

Var s1 As New WebControlCSS
s1.Selector = "#" + Self.ControlID + "_contents"
s1.Value("position") = "absolute"
s1.Value("left") = "25"
s1.Value("top") = "50"

// #DLfzY3mW_contents {
// position: absolute;
// left: 25;
// top: 50;
// }