1 write to _glow
PresentationFramework (1)
src\Framework\System\Windows\Controls\ProgressBar.cs (1)
350_glow = GetTemplateChild(GlowingRectTemplateName) as FrameworkElement;
15 references to _glow
PresentationFramework (15)
src\Framework\System\Windows\Controls\ProgressBar.cs (15)
185if (_glow == null) 188_glow.InvalidateProperty(UIElement.OpacityMaskProperty); 189_glow.InvalidateProperty(Shape.FillProperty); 207_glow.SetCurrentValue(Shape.FillProperty, b); 219_glow.SetCurrentValue(UIElement.OpacityMaskProperty, mask); 220_glow.SetCurrentValue(Shape.FillProperty, this.Foreground); 229if (_glow != null) 231if(IsVisible && (_glow.Width > 0) && (_indicator.Width > 0 )) 234double endPos = _indicator.Width + _glow.Width; 235double startPos = -1 * _glow.Width; 242if (DoubleUtil.GreaterThan( _glow.Margin.Left,startPos) && ( DoubleUtil.LessThan(_glow.Margin.Left, endPos-1))) 246startTime = TimeSpan.FromSeconds(-1*(_glow.Margin.Left-startPos)/200.0); 266_glow.BeginAnimation(FrameworkElement.MarginProperty, animation); 270_glow.BeginAnimation(FrameworkElement.MarginProperty, null);