DataGridEditingUnit 枚举

定义

定义一些常量,这些常量指定对单元格级别还是对行级别启用编辑。Defines constants that specify whether editing is enabled on a cell level or on a row level.

public enum class DataGridEditingUnit
public enum DataGridEditingUnit
type DataGridEditingUnit = 
Public Enum DataGridEditingUnit
继承
DataGridEditingUnit

字段

Cell 0

启用单元格编辑。Cell editing is enabled.

Row 1

启用行编辑。Row editing is enabled.

注解

此枚举由DataGrid.CancelEdit(DataGridEditingUnit)DataGrid.CommitEdit(DataGridEditingUnit, Boolean)方法使用。This enumeration is used by the DataGrid.CancelEdit(DataGridEditingUnit) and DataGrid.CommitEdit(DataGridEditingUnit, Boolean) methods.

适用于

另请参阅