DataGridCellEditEndingEventArgs 类

定义

CellEditEnding 事件提供数据。Provides data for the CellEditEnding event.

public ref class DataGridCellEditEndingEventArgs : EventArgs
public class DataGridCellEditEndingEventArgs : EventArgs
type DataGridCellEditEndingEventArgs = class
    inherit EventArgs
Public Class DataGridCellEditEndingEventArgs
Inherits EventArgs
继承
DataGridCellEditEndingEventArgs

构造函数

DataGridCellEditEndingEventArgs(DataGridColumn, DataGridRow, FrameworkElement, DataGridEditAction)

初始化 DataGridCellEditEndingEventArgs 类的新实例。Initializes a new instance of the DataGridCellEditEndingEventArgs class.

属性

Cancel

获取或设置指示是否应取消事件的值。Gets or sets a value that indicates whether the event should be canceled.

Column

获取发生此事件的单元格所在的列。Gets the column that contains the cell for which the event occurred.

EditAction

获取一个值,该值指示取消还是提交了编辑。Gets a value that indicates whether the edit was canceled or committed.

EditingElement

获取单元格在编辑模式中显示的元素。Gets the element that the cell displays in editing mode.

Row

获取发生此事件的单元格所在的行。Gets the row that contains the cell for which the event occurred.

方法

Equals(Object)

确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetHashCode()

用作默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ToString()

返回一个表示当前对象的 string。Returns a string that represents the current object.

(继承自 Object)

适用于

另请参阅