Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

DataGridColumn Width Binding

$
0
0

I have tried binding the width of a DataGridColumn with that of another control or with a Property in ViewModel but it doesn't seem to work. Look forward for help.

Requirement:

To hide the empty column that shows up at the end of the data grid, I am trying to increase the width of the last column in the datagrid on resizing the window instead of setting its width to * so that horizontal scroll bar always appears and other columns can be resized.


Ramakrishna



Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>