BeginEdit Method (RoutedEventArgs)
Collapse the table of content
Expand the table of content

DataGrid.BeginEdit Method (RoutedEventArgs)


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

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

public bool BeginEdit(
	RoutedEventArgs editingEventArgs


Type: System.Windows.RoutedEventArgs

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

Return Value

Type: System.Boolean

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

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

.NET Framework
Available since 4.0
Available since 2.0
Return to top
© 2015 Microsoft