// Updates the cached animation transition. private void SelectedTransitionChanged(object sender, RoutedEventArgs args) { var value = (string) ((RadioButton) args.Source).Content; _selectedTransition = (AnimationTransitionType) Enum.Parse(typeof (AnimationTransitionType), value); }
// Updates the cached animation transition. private void selectedTransitionChanged(object sender, RoutedEventArgs args) { string value = (String)((RadioButton)args.Source).Content; selectedTransition = (AnimationTransitionType)Enum.Parse(typeof(AnimationTransitionType), value); }