DataGridEditAction 枚举

定义

定义一些常量,这些常量指定要取消还是提交编辑。Defines constants that specify whether an edit is being canceled or committed.

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

字段

Cancel 0

要取消的编辑。The edit is being canceled.

Commit 1

要提交的编辑。The edit is being committed.

注解

此枚举由DataGridCellEditEndingEventArgs.EditActionDataGridRowEditEndingEventArgs.EditAction属性使用。This enumeration is used by the DataGridCellEditEndingEventArgs.EditAction and DataGridRowEditEndingEventArgs.EditAction properties.

适用于

另请参阅