//--------------------------------------------------------------------------- // // Copyright (C) Microsoft Corporation. All rights reserved. // //--------------------------------------------------------------------------- using System; namespace ExtendedGrid.Microsoft.Windows.Controls { /// /// The accepted selection units used in selection on a DataGrid. /// public enum DataGridSelectionUnit { /// /// Only cells are selectable. /// Clicking on a cell will select the cell. /// Clicking on row or column headers does nothing. /// Cell, /// /// Only full rows are selectable. /// Clicking on row headers or on cells will select the whole row. /// FullRow, /// /// Cells and rows are selectable. /// Clicking on a cell will select the cell. Selecting all cells in the row will not select the row. /// Clicking on a row header will select the row and all cells in the row. /// CellOrRowHeader } }