/// <summary> /// Enables the DataGrid. /// </summary> /// <param name="control">The control that will be worked with.</param> public static void Enable(this DataGrid control) { if (!control.Dispatcher.CheckAccess()) { control.Dispatcher.Invoke(() => { control.Enable(); }); return; } DataGridPrep(ref control); }