Overview
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.
Widely used column types
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:
- TextBox
- Numeric TextBox
- Currency TextBox
- DatePicker
- Percentage TextBox
- CheckBox
- MaskedTextBox
- TimeSpan
- Image
- Hyperlink

Drop-down column type
Look up data using the drop-down column type. The following editors are supported to select an item from a drop-down:
- ComboBox
- Multicolumn drop-down list

Custom column type
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.

Cell templates

Template for built-in column types
Embed any control using a template to represent data for any built-in column types.

Template columns
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.
Edit template
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.

Built-in data validation
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.

Our Customers Love Us