コード例 #1
0
 // 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);
 }
コード例 #2
0
        // 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);
        }