Читати англійською Редагувати

Поділитися через


DataGrid.BeginEdit Method

Definition

Invokes the BeginEdit() command, which will place the current cell or row into edit mode.

Overloads

BeginEdit(RoutedEventArgs)

Invokes the BeginEdit() command, which will place the current cell or row into edit mode.

BeginEdit()

Invokes the BeginEdit() command, which will place the current cell or row into edit mode.

BeginEdit(RoutedEventArgs)

Invokes the BeginEdit() command, which will place the current cell or row into edit mode.

C#
public bool BeginEdit(System.Windows.RoutedEventArgs editingEventArgs);

Parameters

editingEventArgs
RoutedEventArgs

If called from an event handler, the event arguments. May be null.

Returns

true if the current cell or row enters edit mode; otherwise, false.

Remarks

If the command is enabled, this will cause the BeginningEdit and PreparingCellForEdit overrides and events to occur.

Applies to

.NET Framework 4.8.1 та інші версії
Продукт Версії
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10

BeginEdit()

Invokes the BeginEdit() command, which will place the current cell or row into edit mode.

C#
public bool BeginEdit();

Returns

true if the current cell or row enters edit mode; otherwise, false.

Remarks

If the command is enabled, this will cause the BeginningEdit and PreparingCellForEdit overrides and events to occur.

Applies to

.NET Framework 4.8.1 та інші версії
Продукт Версії
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10