I have simple ListBox with some objects.
When the mouse is on some object the object background color is change.
Is it possible to avoid this color change with out disable the object ?
( this object contain button that must to be enable )
Thanks for any help.
You can remove the visual state animation from the ListBoxItem template.
The default template can be found here.
The style without mouseover background looks so:
And then apply the new style to the ListBox