Control - MouseOverStyles Property

MouseOverStyles is a collection of styles to be applied to a control when the mouse is over it

Member of Control (PRIM_CTRL)

Data Type - Collection of PRIM_VS.Style - Style used to define foreground and background appearance

Details

The MouseOverStyles property allows for one or more Styles to be applied when the mouse enters the physical bounds of the control.
 
They will be removed when the mouse leaves the control bounds.
 
MouseOverStyles allows for more complex programmatic appearance changes to be coded. Rather than relying on the declarative single MouseOverStyle, the developer is free to add as many style layers as required.
 
MouseOverStyles negates the need to code many MouseEnter and corresponding MouseLeave events, instead allowing for a for the styles to be added and managed at runtime.
 
Setting the MouseOverStyle property will remove all existing MouseOverStyles.

See also

All Component Classes

Technical Reference

Febuary 18 V14SP2