Skip to main content

Microsoft Silverlight

Answered Question Hover Effect on Image ButtonRSS Feed

(0)

danishali
danishali

Member

Member

0 points

4 Posts

Hover Effect on Image Button

Dear All

I have created buttons from image icons.

My scinerio is that i have few icons i.e. Add,Update,Edit,Delete...Kinda Toolbar.... What i need to do is to get effect on hover .. anything will do just to show that they are in focus....

i dont wanna use animation. is there any easy way of doing it....

Please , provide some suggestions.

 Thanks Alot

 

HarshBardhan
HarshBar...

Star

Star

9908 points

1,719 Posts

Re: Hover Effect on Image Button

 Hi,

You can change Content Template for button in Expression Blend and change mouse over state.

 

Mark as answer if this post answered your question.

Harsh Bardhan

vincracker
vincracker

Contributor

Contributor

3116 points

522 Posts

Answered Question

Re: Hover Effect on Image Button

If you don't want to use animation then we can use classic html way of replacing image when hover. You can use MouseEnter and MouseLeave events for Image and make it look like hover effect.

Another approach is to scale your image little. Like when user hover over the image, make it little bit big. For this you can use ScaleTransformation.

Another and very simple way is to put a border outside the image and apply significantly wide border, when mouseEnter in image, make that border visible and when leave just collapse it. 

  • Unanswered Question
  • Answered Question
  • Announcement
Microsoft Communities