selected
Runs block while the component is declared selected. A change of selected runs the style again.
The look and feel honors the font, foreground, toolTip and per-state icons set in block. A property the look and feel paints itself, such as the background, may not show.
Parameters
block
the declarations that apply while the component is declared selected.