Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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
)

Parameters

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
Silverlight
Available since 2.0
Return to top
Show:
© 2016 Microsoft