Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8934551
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T09:48:54+00:00 2026-06-15T09:48:54+00:00

I have a sample story board that I would like to know how to

  • 0

I have a sample story board that I would like to know how to implement using code only but I am having trouble figuring it out. Here is the WPF/XAML, any pointers would be greatly appreciated.

<Window x:Class="MainWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    AllowsTransparency="True"
        WindowStyle="None"
    Title="MainWindow" Height="350" Width="525" Background="Transparent" Topmost="True" WindowState="Maximized" ResizeMode="NoResize">
    <Canvas Name="canvas1">
        <Button Canvas.Left="145" Canvas.Top="155" Content="Button" Height="23" Name="Button1" Width="75">
            <Button.Triggers>
                <EventTrigger RoutedEvent="Button.MouseEnter">
                    <BeginStoryboard>
                        <Storyboard>
                            <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="Button1" Storyboard.TargetProperty="Width" AutoReverse="true" RepeatBehavior="Forever">
                                <SplineDoubleKeyFrame KeyTime="00:00:00" Value="100"/>
                                <SplineDoubleKeyFrame KeyTime="00:00:05" Value="300"/>
                                <SplineDoubleKeyFrame KeyTime="00:00:10" Value="100"/>
                            </DoubleAnimationUsingKeyFrames>
                            <DoubleAnimation 
                Storyboard.TargetName="Button1"
                Storyboard.TargetProperty="(Canvas.Left)"
                From="100" To="600" Duration="0:0:10" AutoReverse="true" RepeatBehavior="Forever"/>
                            <DoubleAnimation 
                Storyboard.TargetName="Button1"
                Storyboard.TargetProperty="(Canvas.Top)"
                From="100" To="600" Duration="0:0:10" AutoReverse="true" RepeatBehavior="Forever"/>
                        </Storyboard>
                    </BeginStoryboard>
                </EventTrigger>
            </Button.Triggers>
        </Button>
    </Canvas>
</Window>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T09:48:55+00:00Added an answer on June 15, 2026 at 9:48 am

    What have you tried so far? What part are you having trouble with?

    There are a few good examples on this page: http://www.galasoft.ch/mydotnet/articles/article-2006102701.aspx

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like to do something that is seemingly quite simple, but I cannot
I have a couple of Storyboards in my view that I would like to
I did two sample applications in ios.Both applications i have done using storyboard.Then after
Does anyone have sample code, or a tutorial which demonstrates how to use Grappa
I've started working on a little ruby project that will have sample implementations of
I have developed sample api as jar file. This jar file contains the code
I have a sample code: $text = 240 x 400 pixels, 3.0 inches (~155
I'm using a icarousel sample project from github that creates a coverflow on iphone
We have 3 animations in a storyboard that works fine in Silverlight 4, but
I have a very simple application that has only 2 view controllers. The initial

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.