Member variable XbpPushButton():visualStyle Foundation
Specifies the visual style to use for display.
The default representation used for creating the visual representation of an XbpPushButton object can be overridden using the :visualStyle instance variable. To do this, an instance of the XbpHTMLStyle() class must be assigned to :visualStyle, which is then used to draw the object.
HTML style objects use HTML markup and optional CSS style sheets to create the visual representation of a push button object. For this, the corresponding HTML markup must be specified as the caption of the button. In addition, if a CSS style sheet is to be used, the CSS must be supplied when instantiating the XbpHTMLStyle object.
The following code snippet shows the basic steps required for using a custom visual style with an XbpPushButton object.
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.