示例#1
0
        public GridCellBase(IGridColumn column, IGridRow row, GridCellChangedProvider actionProvider)
        {
            Column = column;
            Row    = row;

            _gridCellChangedProvider = actionProvider;

            IsReadOnly = column.IsEditionReadOnly;
        }
示例#2
0
 public DynDataGrid()
 {
     GridCellChangedProvider = new GridCellChangedProvider();
     _listColumn             = new List <IGridColumn>();
     _listRow = new List <IGridRow>();
 }
 /// <summary>
 /// Constructor.
 /// Provide the default (its a bool ).
 /// </summary>
 /// <param name="column"></param>
 /// <param name="value"></param>
 public GridCellCheckBox(IGridColumnCheckBox column, IGridRow row, bool value, GridCellChangedProvider actionProvider) : base(column, row, actionProvider)
 {
     Content = value;
 }
示例#4
0
 public GridCellString(IGridColumnString column, IGridRow row, string value, GridCellChangedProvider actionProvider) : base(column, row, actionProvider)
 {
     Content = value;
 }