DataGrid Behaviors

With this attached property you can stretch the last column of the WPF DataGrid to fill all the available space.

We can use the following syntax:

<DataGrid behaviors:DataGridBehavior.LastColumnFill="True" ... />

the attached property is defined in the http://schemas.topics.it/wpf/radical/windows/behaviors xml namespace.

Last updated