Reputation: 1730
Is it generally possible in Grid
control to set ActualWidth
of Column
? This property has only getter. May be there is other way to assign some value to it?
I can set MinWidth
, can set Width
, so I think it would be logical to have possibility to set ActualWidth
.
Upvotes: 1
Views: 855
Reputation: 128136
Set the column's Width
property:
column.Width = new GridLength(100, GridUnitType.Pixel);
Upvotes: 2