// Token: 0x0600548C RID: 21644 RVA: 0x001766E8 File Offset: 0x001748E8 private static void OnIsIndeterminateChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { ProgressBar progressBar = (ProgressBar)d; ProgressBarAutomationPeer progressBarAutomationPeer = UIElementAutomationPeer.FromElement(progressBar) as ProgressBarAutomationPeer; if (progressBarAutomationPeer != null) { progressBarAutomationPeer.InvalidatePeer(); } progressBar.SetProgressBarGlowElementBrush(); progressBar.SetProgressBarIndicatorLength(); progressBar.UpdateVisualState(); }
private static void OnForegroundChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { ProgressBar progressBar = (ProgressBar)d; progressBar.SetProgressBarGlowElementBrush(); }