Example #1
0
 protected virtual void OnCellValueChange(CellEventArgs cell_args)
 {
     if (this.CellValueChange != null)
     {
         CellValueChange(this, cell_args);
     }
 }
Example #2
0
 protected virtual void OnCellEditEnd(CellEventArgs cell_args)
 {
     if (this.CellEditEnd != null)
     {
         CellEditEnd(this, cell_args);
     }
 }
Example #3
0
 protected virtual void OnCellEditStart(CellEventArgs cell_args)
 {
     if (this.CellEditStart != null)
     {
         CellEditStart(this, cell_args);
     }
 }
Example #4
0
        public virtual object this[string columnname]
        {
            get
            {
                return this.cells_values[columnname];
            }
            set
            {
                if (!this.cells_values[columnname].Equals(value))
                {
                    CellEventArgs args = new CellEventArgs();
                    args.OldValue = this.cells_values[columnname];

                    this.cells_values[columnname] = value;

                    args.Value = value;
                    args.Position = new CellPosition(this, parent_collection.Parent.Columns[columnname]);

                    OnCellValueChange(args);
                }
            }
        }