Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. WPF
  4. Executing an animation from within code?

Executing an animation from within code?

Scheduled Pinned Locked Moved WPF
databasecsharpwpfquestion
2 Posts 2 Posters 7 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    Red_Wizard_Shot_The_Food
    wrote on last edited by
    #1

    I've been looking through animation tutorials for WPF and they all seem to use the "RoutedEvent" inside an event trigger that is hooked up to the form loading or a button being pressed.... But how would I, say, launch an animation when my SQL query has finished or when a file has finished loading, etc, etc. Is there just some simple "Do this animation now" command I can call on a story board?? Thanks.

    L 1 Reply Last reply
    0
    • R Red_Wizard_Shot_The_Food

      I've been looking through animation tutorials for WPF and they all seem to use the "RoutedEvent" inside an event trigger that is hooked up to the form loading or a button being pressed.... But how would I, say, launch an animation when my SQL query has finished or when a file has finished loading, etc, etc. Is there just some simple "Do this animation now" command I can call on a story board?? Thanks.

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Plenty of great examples on the web. I Googled: wpf execute animation in code Got lots of good examples. http://blogs.msdn.com/karstenj/archive/2007/06/20/collaborating-on-creating-animations-in-wpf-and-blend-possibilities-and-limitations.aspx[^] http://www.galasoft.ch/mydotnet/articles/article-2006102701.aspx[^]

      Cheers, Karl » CodeProject 2008 MVP » Microsoft MVP - Client App Dev My Blog | Mole's Home Page | MVP Profile

      Just a grain of sand on the worlds beaches.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups