Click or drag to resize

ExtensionMethodsEnableMultilineEditing Method

Tweaks the editing element style to enable multi-line editing.

Namespace:  DataGridExtensions
Assembly:  DataGridExtensions (in DataGridExtensions.dll)
Syntax
public static void EnableMultilineEditing(
	this DataGridTextColumn column
)

Parameters

column
Type: System.Windows.ControlsDataGridTextColumn
The column.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type DataGridTextColumn. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Remarks
Ctrl+Return will add a new line when editing the cell.
See Also