Inheritance: Windows.UI.Xaml.Controls.UserControl
Esempio n. 1
0
        private static void MainOuterCircleBorderBackgroundDiameterAnimPropertyChanged(DependencyObject obj, DependencyPropertyChangedEventArgs args)
        {
            RadialMenu rm = (RadialMenu)obj;

            rm.elcb1.Width  = (double)args.NewValue;
            rm.elcb1.Height = (double)args.NewValue;
        }
Esempio n. 2
0
        private static void DefaultOuterDiameterPropertyChanged(DependencyObject obj, DependencyPropertyChangedEventArgs args)
        {
            RadialMenu rm = (RadialMenu)obj;

            ((DoubleAnimationUsingKeyFrames)rm.sbShowMainMenu.Children[0]).KeyFrames[0].Value = (int)args.NewValue + (defaultOuterBorderWidth * 2);
            ((DoubleAnimationUsingKeyFrames)rm.sbShowMainMenu.Children[1]).KeyFrames[0].Value = defaultOuterBorderWidth;

            ((DoubleAnimationUsingKeyFrames)rm.sbHideMainMenu.Children[0]).KeyFrames[0].Value = (int)args.NewValue;

            rm.MainOuterCircleBorderBackgroundDiameterAnim = (int)args.NewValue;

            rm.elcb1.Width  = (int)args.NewValue;
            rm.elcb1.Height = (int)args.NewValue;
        }
Esempio n. 3
0
        private static void MainOuterCircleBorderWidthAnimPropertyChanged(DependencyObject obj, DependencyPropertyChangedEventArgs args)
        {
            RadialMenu rm = (RadialMenu)obj;

            rm.elcb1.StrokeThickness = (double)args.NewValue;
        }