コード例 #1
0
        private static void OnDescriptionChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            VerticalIntervalGraph mg = (VerticalIntervalGraph)d;

            mg.Sources["Y1"].Description = (string)e.NewValue;
            mg.Sources["Y2"].Description = (string)e.NewValue;
        }
コード例 #2
0
        private static void OnY2Changed(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            VerticalIntervalGraph mg = (VerticalIntervalGraph)d;

            mg.Sources["Y2"].Data = e.NewValue;
        }