Click here to Skip to main content
15,900,258 members
Home / Discussions / WPF
   

WPF

 
QuestionSilverlight application does not run Pin
jonatan_55611-Feb-10 1:58
jonatan_55611-Feb-10 1:58 
AnswerRe: Silverlight application does not run Pin
Abhinav S11-Feb-10 6:07
Abhinav S11-Feb-10 6:07 
GeneralRe: Silverlight application does not run Pin
jonatan_55612-Feb-10 3:18
jonatan_55612-Feb-10 3:18 
GeneralRe: Silverlight application does not run Pin
Abhinav S12-Feb-10 8:04
Abhinav S12-Feb-10 8:04 
QuestionPartial-trust on-screen keyboard? Pin
Richard Dutton11-Feb-10 0:01
Richard Dutton11-Feb-10 0:01 
QuestionAnimation problem Pin
fjparisIII10-Feb-10 20:08
fjparisIII10-Feb-10 20:08 
AnswerRe: Animation problem Pin
Abhinav S10-Feb-10 22:18
Abhinav S10-Feb-10 22:18 
GeneralRe: Animation problem Pin
fjparisIII11-Feb-10 5:11
fjparisIII11-Feb-10 5:11 
I thought it was clear that I had created my Storyboard in XAML. This is what I had before I made my first post:

<navigation:Page.Resources>
    <Storyboard x:Name="image01fadeIn">
        <DoubleAnimation
            Storyboard.TargetName="image01"
            Storyboard.TargetProperty="Opacity"
            From="0" To="1"
            Duration="0:0:0.5"
            Completed="imag01FadeInAnimation_Completed"
            >
        </DoubleAnimation>
    </Storyboard>
</navigation:Page.Resources>


Now I'm getting an event where I have a reference to the element I want to start the above animation on. Given the reference to that the element (image01), how do I find the above Storyboard so I can start the animation? It was simple in WPF, because I could create the animation in code and use BeginAnimation() right there in the code. But in Silverlight, apparently you have to create the Storyboard in a XAML resource.

Maybe my question should be: how would I replace the above XAML with in-line C# code?
GeneralRe: Animation problem Pin
Abhinav S11-Feb-10 6:21
Abhinav S11-Feb-10 6:21 
GeneralRe: Animation problem Pin
fjparisIII11-Feb-10 6:41
fjparisIII11-Feb-10 6:41 
QuestionHow to send key Pin
AksharRoop10-Feb-10 1:38
AksharRoop10-Feb-10 1:38 
AnswerRe: How to send key Pin
rhuiden10-Feb-10 2:17
rhuiden10-Feb-10 2:17 
GeneralRe: How to send key Pin
AksharRoop10-Feb-10 2:38
AksharRoop10-Feb-10 2:38 
GeneralRe: How to send key Pin
rhuiden10-Feb-10 3:29
rhuiden10-Feb-10 3:29 
QuestionReading Web Servers File System Pin
Jammer9-Feb-10 10:42
Jammer9-Feb-10 10:42 
AnswerRe: Reading Web Servers File System Pin
wolfbinary9-Feb-10 10:52
wolfbinary9-Feb-10 10:52 
GeneralRe: Reading Web Servers File System Pin
Jammer10-Feb-10 4:06
Jammer10-Feb-10 4:06 
GeneralRe: Reading Web Servers File System Pin
wolfbinary10-Feb-10 9:15
wolfbinary10-Feb-10 9:15 
QuestionMenu links are sometimes non-responsive to the Click Event???!!! Pin
Michael Eber8-Feb-10 11:51
Michael Eber8-Feb-10 11:51 
AnswerRe: Menu links are sometimes non-responsive to the Click Event???!!! Pin
Abhinav S8-Feb-10 23:46
Abhinav S8-Feb-10 23:46 
QuestionImage on form Pin
Syed Shahid Hussain8-Feb-10 11:11
Syed Shahid Hussain8-Feb-10 11:11 
AnswerRe: Image on form Pin
Not Active8-Feb-10 11:16
mentorNot Active8-Feb-10 11:16 
GeneralRe: Image on form Pin
Syed Shahid Hussain8-Feb-10 21:43
Syed Shahid Hussain8-Feb-10 21:43 
GeneralRe: Image on form Pin
Pete O'Hanlon8-Feb-10 21:52
mvePete O'Hanlon8-Feb-10 21:52 
QuestionWPF Pin
Syed Shahid Hussain8-Feb-10 11:08
Syed Shahid Hussain8-Feb-10 11:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.