/// <summary> /// 构造函数 添加数据时使用 /// </summary> /// <param name="headerText"></param> /// <param name="value"></param> public DynamicColumnValueChangedEventArgs(DynamicColumn column, object headerText, object newValue) { Action = DynamicColumnValueChangedAction.Add; HeaderText = headerText; NewValue = newValue; Column = column; }
/// <summary> /// 构造函数 删除数据时使用 /// </summary> /// <param name="headerText"></param> public DynamicColumnValueChangedEventArgs(DynamicColumn column, object headerText) { Action = DynamicColumnValueChangedAction.Remove; HeaderText = headerText; Column = column; }