/// <summary> /// Handles invocation of RowSetDefaultValues events /// </summary> internal void DoRowSetDefaultValuesEvent( GridPanel panel, GridRow row, NewRowContext context) { if (RowSetDefaultValues != null) { GridRowSetDefaultValuesEventArgs ev = new GridRowSetDefaultValuesEventArgs(panel, row, context); bool loading = row.Loading; row.Loading = true; try { RowSetDefaultValues(this, ev); } finally { row.Loading = loading; } } }
///<summary> /// GridRowDeletedEventArgs ///</summary> ///<param name="gridPanel"></param> ///<param name="gridRow"></param> ///<param name="context"></param> public GridRowSetDefaultValuesEventArgs( GridPanel gridPanel, GridRow gridRow, NewRowContext context) : base(gridPanel) { _GridRow = gridRow; _NewRowContext = context; }