private void DetailsControl_FamilyDataClick(object sender, RoutedEventArgs e) { FamilyDataControl.Refresh(); ((Storyboard)this.Resources["ShowFamilyData"]).Begin(this); }
/// <summary> /// The focus can be set only after the animation has stopped playing. /// </summary> private void ShowFamilyData_StoryboardCompleted(object sender, EventArgs e) { FamilyDataControl.SetDefaultFocus(); }