Esempio n. 1
0
        private static void OnThicknessPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            BarIndicatorSegment segment = d as BarIndicatorSegment;

            segment.thicknessCache = (double)e.NewValue;
            segment.UpdatePath();
        }
Esempio n. 2
0
        private static void OnStrokePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            BarIndicatorSegment segment = d as BarIndicatorSegment;

            segment.strokeCache = (Brush)e.NewValue;
            segment.UpdatePath();
        }
Esempio n. 3
0
        private static void OnLengthPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            BarIndicatorSegment segment = d as BarIndicatorSegment;

            segment.lengthCache = (double)e.NewValue;
            segment.UpdateOwner();
        }