DataGrid.BeginEdit 方法

定义

调用命令 BeginEdit() ,该命令会将当前单元格或行置于编辑模式。

重载

名称 说明
BeginEdit(RoutedEventArgs)

调用命令 BeginEdit() ,该命令会将当前单元格或行置于编辑模式。

BeginEdit()

调用命令 BeginEdit() ,该命令会将当前单元格或行置于编辑模式。

BeginEdit(RoutedEventArgs)

调用命令 BeginEdit() ,该命令会将当前单元格或行置于编辑模式。

public:
 bool BeginEdit(System::Windows::RoutedEventArgs ^ editingEventArgs);
public bool BeginEdit(System.Windows.RoutedEventArgs editingEventArgs);
member this.BeginEdit : System.Windows.RoutedEventArgs -> bool
Public Function BeginEdit (editingEventArgs As RoutedEventArgs) As Boolean

参数

editingEventArgs
RoutedEventArgs

如果从事件处理程序调用,则为事件参数。 可为 null

返回

true 如果当前单元格或行进入编辑模式,则为否则,为 false.

注解

如果启用了该命令,这将导致 BeginningEdit 发生和 PreparingCellForEdit 重写和事件。

适用于

BeginEdit()

调用命令 BeginEdit() ,该命令会将当前单元格或行置于编辑模式。

public:
 bool BeginEdit();
public bool BeginEdit();
member this.BeginEdit : unit -> bool
Public Function BeginEdit () As Boolean

返回

true 如果当前单元格或行进入编辑模式,则为否则,为 false.

注解

如果启用了该命令,这将导致 BeginningEdit 发生和 PreparingCellForEdit 重写和事件。

适用于