Class XbpHTMLStyle() Foundation

Class function of the XbpHTMLStyle class.

Description

The XbpHTMLStyle class provides functionality for rendering arbitrary HTML content into a Presentation Space.

The main purpose of the class is to draw styled markup as the visual representation of a UI element in conjunction with the owner-drawing feature. To do this, the HTML style object must be assigned to the :visualStyle member variable of the corresponding Xbase Part.

Configuration
:minHeight
The minimum height of the HTML content.
:minWidth
The minimum width of the HTML content.
Life cycle
:init()
Initializes instance variables.
Methods for drawing styled HTML markup

See the XbpComboBox:visualStyle()instance variable for an example.

:draw()
Draws HTML markup into a Presentation Space.
Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.