コード例 #1
0
        private static void OnExponentStepChanged(DependencyObject target, DependencyPropertyChangedEventArgs args)
        {
            NumericalAxis presenter = target as NumericalAxis;

            (presenter.model as LogarithmicAxisModel).MajorStep = (double)args.NewValue;
        }
コード例 #2
0
ファイル: NumericalAxis.cs プロジェクト: zyhong/UI-For-UWP
        private static void OnRangeExtendDirectionChanged(DependencyObject target, DependencyPropertyChangedEventArgs args)
        {
            NumericalAxis presenter = target as NumericalAxis;

            (presenter.model as NumericalAxisModel).RangeExtendDirection = (NumericalAxisRangeExtendDirection)args.NewValue;
        }
コード例 #3
0
ファイル: LinearAxis.cs プロジェクト: zyhong/UI-For-UWP
        private static void OnMajorStepChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            NumericalAxis presenter = d as NumericalAxis;

            (presenter.model as NumericalAxisModel).MajorStep = (double)e.NewValue;
        }
コード例 #4
0
ファイル: NumericalAxis.cs プロジェクト: zyhong/UI-For-UWP
        private static void OnDesiredTickCountChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            NumericalAxis presenter = d as NumericalAxis;

            (presenter.model as NumericalAxisModel).DesiredTickCount = (int)e.NewValue;
        }