WPF DataGrid provides a seamless editing experience to edit cell values using intuitive editors such as date-picker, numeric text box, percent text box, and combo box. It supports non-editable columns such as images, hyperlinks, check boxes and more. Users can embed any control in a cell with template columns.
The WPF DataGrid control provides support for widely used column types. Users can easily edit the cell values using built-in intuitive editors. The following column types are supported:
Look up data using the drop-down column type. The following editors are supported to select an item from a drop-down:
Create your own custom column and load different user controls instead of the built-in editor or non-editor controls. Thus, you can perform customized operations for your business application use cases. It’s also possible to change the behavior of built-in column types.
Embed any control using a template to represent data for any built-in column types.
Load any control to represent the data using a template. You can perform mouse and keyboard interactions for the template column easily, like for built-in column types.
Display any control on tapping or double-tapping on cell editing using edit templates. You can also display any control conditionally on editing based on the cell value.
The WPF DataGrid control supports built-in data error indication or validation when the given value in the cell does not meet the validation rule. Users can define the custom validation rules themselves.