Rediger

Del via


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.

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

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

BeginEdit()

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

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

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