// 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(); }
/// <summary> /// Called when IsIndeterminateProperty is changed on "d". /// </summary> private static void OnIsIndeterminateChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { MultiProgressBar progressBar = (MultiProgressBar)d; // Invalidate automation peer ProgressBarAutomationPeer peer = UIElementAutomationPeer.FromElement(progressBar) as ProgressBarAutomationPeer; if (peer != null) { peer.InvalidatePeer(); } progressBar.SetProgressBarGlowElementBrush(); progressBar.SetProgressBarIndicatorLength(); progressBar.LayoutMultiProgressBar(); }