1 write to _glow
PresentationFramework (1)
System\Windows\Controls\ProgressBar.cs (1)
352_glow = GetTemplateChild(GlowingRectTemplateName) as FrameworkElement;
16 references to _glow
PresentationFramework (16)
System\Windows\Controls\ProgressBar.cs (16)
68if (_glow == null) 189if (_glow == null) 192_glow.InvalidateProperty(UIElement.OpacityMaskProperty); 193_glow.InvalidateProperty(Shape.FillProperty); 209_glow.SetCurrentValue(Shape.FillProperty, b); 221_glow.SetCurrentValue(UIElement.OpacityMaskProperty, mask); 222_glow.SetCurrentValue(Shape.FillProperty, this.Foreground); 230if (_glow != null) 232if(IsVisible && (_glow.Width > 0) && (_indicator.Width > 0 )) 235double endPos = _indicator.Width + _glow.Width; 236double startPos = -1 * _glow.Width; 243if (DoubleUtil.GreaterThan( _glow.Margin.Left,startPos) && ( DoubleUtil.LessThan(_glow.Margin.Left, endPos-1))) 247startTime = TimeSpan.FromSeconds(-1*(_glow.Margin.Left-startPos)/200.0); 266_glow.BeginAnimation(FrameworkElement.MarginProperty, animation); 270_glow.BeginAnimation(FrameworkElement.MarginProperty, null);