public void SetFormat(ColumnId columnId, ColumnFormat columnFormat) { if (columnFormat.IsEmpty) { _formats.Remove(columnId); } else { _formats[columnId] = columnFormat; } FireFormatChanged(); }
protected bool Equals(ColumnFormat other) { return(string.Equals(Format, other.Format) && Width == other.Width); }