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)
185
if (
_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);
229
if (
_glow
!= null)
231
if(IsVisible && (
_glow
.Width > 0) && (_indicator.Width > 0 ))
234
double endPos = _indicator.Width +
_glow
.Width;
235
double startPos = -1 *
_glow
.Width;
242
if (DoubleUtil.GreaterThan(
_glow
.Margin.Left,startPos) && ( DoubleUtil.LessThan(
_glow
.Margin.Left, endPos-1)))
246
startTime = TimeSpan.FromSeconds(-1*(
_glow
.Margin.Left-startPos)/200.0);
266
_glow
.BeginAnimation(FrameworkElement.MarginProperty, animation);
270
_glow
.BeginAnimation(FrameworkElement.MarginProperty, null);