DataGrid::BeginEdit Method (RoutedEventArgs^)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: