Skip to main content
monor fixes to typos and grammar
Source Link
stackh34p
  • 9k
  • 13
  • 70
  • 112

Try andto refresh lable usethe label using this

public static class ExtensionMethods { private static Action EmptyDelegate = delegate() { }; public static void Refresh(this UIElement uiElement) { uiElement.Dispatcher.Invoke(DispatcherPriority.Render, EmptyDelegate); } } 

Try and refresh lable use this

public static class ExtensionMethods { private static Action EmptyDelegate = delegate() { }; public static void Refresh(this UIElement uiElement) { uiElement.Dispatcher.Invoke(DispatcherPriority.Render, EmptyDelegate); } } 

Try to refresh the label using this

public static class ExtensionMethods { private static Action EmptyDelegate = delegate() { }; public static void Refresh(this UIElement uiElement) { uiElement.Dispatcher.Invoke(DispatcherPriority.Render, EmptyDelegate); } } 

U need toTry and refresh lable use this

public static class ExtensionMethods { private static Action EmptyDelegate = delegate() { };

public static class ExtensionMethods { private static Action EmptyDelegate = delegate() { };  public static void Refresh(this UIElement uiElement) { uiElement.Dispatcher.Invoke(DispatcherPriority.Render, EmptyDelegate); } } 

U need to refresh lable use this

public static class ExtensionMethods { private static Action EmptyDelegate = delegate() { };

 public static void Refresh(this UIElement uiElement) { uiElement.Dispatcher.Invoke(DispatcherPriority.Render, EmptyDelegate); } } 

Try and refresh lable use this

public static class ExtensionMethods { private static Action EmptyDelegate = delegate() { };  public static void Refresh(this UIElement uiElement) { uiElement.Dispatcher.Invoke(DispatcherPriority.Render, EmptyDelegate); } } 
Source Link
user1360355
user1360355

U need to refresh lable use this

public static class ExtensionMethods { private static Action EmptyDelegate = delegate() { };

 public static void Refresh(this UIElement uiElement) { uiElement.Dispatcher.Invoke(DispatcherPriority.Render, EmptyDelegate); } }