string FadeInStoryBoard = "<StoryBoard ... />"; StoryBoard storyBoard = XamlReader.Load(FadeInStoryBoard) as StoryBoard;