1 write to _glow
PresentationFramework (1)
System\Windows\Controls\ProgressBar.cs (1)
346_glow = GetTemplateChild(GlowingRectTemplateName) as FrameworkElement;
16 references to _glow
PresentationFramework (16)
System\Windows\Controls\ProgressBar.cs (16)
61if (_glow == null) 179if (_glow == null) 182_glow.InvalidateProperty(UIElement.OpacityMaskProperty); 183_glow.InvalidateProperty(Shape.FillProperty); 200_glow.SetCurrentValue(Shape.FillProperty, b); 214_glow.SetCurrentValue(UIElement.OpacityMaskProperty, mask); 215_glow.SetCurrentValue(Shape.FillProperty, this.Foreground); 223if (_glow != null) 225if(IsVisible && (_glow.Width > 0) && (_indicator.Width > 0 )) 228double endPos = _indicator.Width + _glow.Width; 229double startPos = -1 * _glow.Width; 236if (DoubleUtil.GreaterThan( _glow.Margin.Left,startPos) && ( DoubleUtil.LessThan(_glow.Margin.Left, endPos-1))) 240startTime = TimeSpan.FromSeconds(-1*(_glow.Margin.Left-startPos)/200.0); 260_glow.BeginAnimation(FrameworkElement.MarginProperty, animation); 264_glow.BeginAnimation(FrameworkElement.MarginProperty, null);