Check to see if the Dispatcher is currently not active which can happen internally in WPF rendering and cause unexpected exceptions. Check for those edge cases
public static bool IsDispatcherDisabled(Dispatcher dispatcher)
Parameters
dispatcher
See also:
Class WindowUtilities© West Wind Technologies, 2016-2024 • Updated: 11/23/21
Comment or report problem with topic