Click here to Skip to main content
15,029,128 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to update image size using the trigger in WPF?

Below given trigger is working fine for textbox and other, and image size is also changed to "64" after rendering, but I want that normally image is off "32", on mouseover it should changed to "64".

<Style TargetType="Image">
               <Setter Property="Height" Value="64" />
               <Setter Property="Width" Value="64" />

         <Trigger Property="IsMouseOver" Value="True"></Trigger>

Thanks in advance.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900