示例#1
0
文件: Table.cs 项目: hksonngan/Xian
        internal int GetColumnWidthPercent(TableColumnBase <TItem> column)
        {
            float sum = 0;

            foreach (TableColumnBase <TItem> c in _columns)
            {
                sum += c.WidthFactor;
            }
            return((int)(100 * column.WidthFactor / sum));
        }
示例#2
0
文件: Table.cs 项目: hksonngan/Xian
 internal void NotifyColumnChanged(TableColumnBase <TItem> column)
 {
     _columns.NotifyItemUpdated(column);
 }