How can I set the Height property of a WPF control in C # code to " Auto "?
<Grid.RowDefinitions> <RowDefinition /> <RowDefinition Height="Auto" /> <RowDefinition /> <RowDefinition Height="Auto" /> <RowDefinition /> <RowDefinition Height="Auto" /> <RowDefinition /> <RowDefinition Height="Auto" /> <RowDefinition /> </Grid.RowDefinitions>
I want to reproduce this behavior in code. Any ideas?
c # wpf xaml
Karim Agha Mar 17 '10 at 0:08 2010-03-17 00:08
source share