public void SetIsEnabled(ITableRow row, TaskContext context) { if (object.Equals(context.State, System.Data.DataRowState.Detached) == true) { return; } row.Dispatcher.Invoke(() => { var isEnabled = RandomUtility.NextBoolean(); row.SetIsEnabled(context.Authentication, isEnabled); }); }
public void SetIsEnabled() { row.SetIsEnabled(authentication, false); }