Remarks: This allows you to add additional logic or set properties on the widget based on the styles set on the widget.
Type parameters:
| TWidget | Type of widget to style where Widget |
Signature:
Parameters:
| widget (TWidget) | Widget instance that is being styled |