Updated DataGrid (markdown)

master
DianeXceed 8 years ago
parent
commit
9cf7af657f
  1. 12
      DataGrid.md

12
DataGrid.md

@ -12,6 +12,18 @@ See the [[Advanced DataGrid]] page for a list of differences between the Toolkit
[[DataGrid_grid.jpg]]
### Remarks
When declaring the DataGrid in code behind, a default view must be set.
For example:
```
dataGridControl.View = new Xceed.Wpf.DataGrid.Views.TableflowView();
```
Otherwise, depending on which version is being used, an exception can occur or the DataGridControl could be unusable at run-time.
### Usage
**XAML**

Loading…
Cancel
Save