Example #1
0
        public static void OniIndexChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
        {
            CanvasWithPhoto c        = (CanvasWithPhoto)sender;
            int             newValue = (int)e.NewValue;
            int             oldValue = (int)e.OldValue;

            c.Index = (int)e.NewValue;
            c.OnIndexChanged(oldValue, newValue);
        }
Example #2
0
        private void CanvasWithPhoto_IndexChanged(object sender, RoutedPropertyChangedEventArgs <int> e)
        {
            CanvasWithPhoto c = (CanvasWithPhoto)sender;

            UpdataRadioBtn(c.Index);
        }