Пример #1
0
 public void SetFormat(ColumnId columnId, ColumnFormat columnFormat)
 {
     if (columnFormat.IsEmpty)
     {
         _formats.Remove(columnId);
     }
     else
     {
         _formats[columnId] = columnFormat;
     }
     FireFormatChanged();
 }
Пример #2
0
 protected bool Equals(ColumnFormat other)
 {
     return(string.Equals(Format, other.Format) && Width == other.Width);
 }