We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback


Overview

The DataGrid control allows you to customize the appearance style of the control and its inner elements such as cells, rows, columns, column headers, filter UI pop-ups, row headers, and summary rows to adapt the control to the rest of your business application.


Editing styles using Visual Studio Designer

  • Edit the styles of datagrid elements in Visual Studio Designer.
  • Copy the element style templates to XAML view without writing a single line of code.
  • Edit the styles for every datagrid element, including the filter user interface pop-up.

editing styling of WPF datagrid in visual studio designer


Row style

Customize a row style with the help of Visual Studio Designer. Users can add the row style template to a XAML view without writing a single line of code.

row style template using visual studio designer in WPF datagrid


Column style

Customize a column style with the help of Visual Studio Designer. Users can add the column style template to a XAML view without writing a single line of code.

editing styling of WPF datagrid elements in visual studio designer


Other elements styles

Customize the style of all other elements, such as:

  • Summary row
  • Group caption row
  • Row header
  • Unbound row
  • Group drop area

column style template using visual studio designer in WPF datagrid


Template selectors

Set any custom template to cells or rows using template selectors. Users can customize an appearance style based on the data conditionally.

WPF datagrid styling using template selectors


Animating the row or cell on property change

Customize a row or cell on property change. Row or cell animation is possible to show a better UI experience.

animating a cell on property change in WPF datagrid


Built-in themes

The DataGrid control provides built-in themes support to adapt the control to the rest of your business application. Some of the different built-in themes are:

  • Blend
  • Metro
  • Office 2010 and 2013
  • Visual Studio and more

Users can customize the built-in themes or write their own custom theme by using the ThemeStudio utility.

Blend theme applied in WPF datagrid


90+ WPF CONTROLS

Scroll up icon

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.