internal void AddRecylableRow(DataGridRow row) { Debug.Assert(!_recyclableRows.Contains(row)); row.DetachFromDataGrid(true); _recyclableRows.Push(row); }
/// <summary> /// Initializes a new instance of the <see cref="T:Avalonia.Controls.DataGridRowDetailsEventArgs" /> class. /// </summary> /// <param name="row">The row that the event occurs for.</param> /// <param name="detailsElement">The row details section as a framework element.</param> public DataGridRowDetailsEventArgs(DataGridRow row, IControl detailsElement) { Row = row; DetailsElement = detailsElement; }
/// <summary> /// Instantiates a new instance of this class. /// </summary> /// <param name="row">The row container of the cell container that has just exited edit mode.</param> /// <param name="editAction">The editing action that has been taken.</param> public DataGridRowEditEndedEventArgs(DataGridRow row, DataGridEditAction editAction) { this.Row = row; this.EditAction = editAction; }
/// <summary> /// Initializes a new instance of the <see cref="T:Avalonia.Controls.DataGridRowEventArgs" /> class. /// </summary> /// <param name="dataGridRow">The row that the event occurs for.</param> public DataGridRowEventArgs(DataGridRow dataGridRow) { this.Row = dataGridRow; }
/// <summary> /// Instantiates a new instance of this class. /// </summary> /// <param name="column">The column of the cell that has just exited edit mode.</param> /// <param name="row">The row container of the cell container that has just exited edit mode.</param> /// <param name="editAction">The editing action that has been taken.</param> public DataGridCellEditEndedEventArgs(DataGridColumn column, DataGridRow row, DataGridEditAction editAction) { Column = column; Row = row; EditAction = editAction; }
public DataGridCellCollection(DataGridRow owningRow) { _owningRow = owningRow; _cells = new List <DataGridCell>(); }