locked
Importing an animated button from expression blend to Visual Studio RRS feed

  • Question

  • Hi,

    I made an animated button on expression and then imported the project n visual studio. I want to access my button in C# code. How will it be possible to access my button in code??

    Thank you

    Regards,
    Syed Ahme Hussain
    Wednesday, June 3, 2009 5:06 PM

All replies


  • You shloud open your all aplication in Expression blend and then create inside your animated button. In your right side Has got a two buttons. Firstly about proprties and secondly about events. Click to events and choose what you want to do. Double Click for your event and automaticly your aplication reloaded in VS.Now you can write your code. 
    Wednesday, June 3, 2009 11:32 PM
  • Howdy,

    You need to name your button element. Add your button to the artboard and on the properties panel, you will see at the top where it says Name.

    Give it a name, open your solution in visual studio and rebuild your solution. You should be able to then refer to your button by the name you gave it.

    HTH

    Cheers

    Expression MVP

    my blog : http://x-coders.com/blogs/sneaky/default.aspx

    Thursday, June 4, 2009 2:39 PM
    Moderator