private void UpdateModelErrorCount(object property, CatalogAssistantState view) { if (property.IsNull() || AssistantItems.Count == 0) AssistantItems[(int)view].ErrorCount = string.Empty; else AssistantItems[(int)view].ErrorCount = ((ModelBase)property).GetErrorCount > 0 ? ((ModelBase)property).GetErrorCount.ToString() : String.Empty; }
private void SetDefaultFocus(CatalogAssistantState state) { State = state; defaultFocusDelegate.DynamicInvoke(); }