Hello ..,
I am Trying to create a game board using a grid ( 25X25 ) in wpf , and I also Created a control to be host within a cell in the grid , but the control size is bigger then the cell ,
how can I Autozise the control to fit the cell size ,
and after that how to centerlized the control in th cell
thanks..
Loading
sivagnanamPosted Aug 31, 2009, 8:35 AM
<Grid x:Name="GridUC">
<Grid.RowDefinitions>
<RowDefinition Height="*"/>
Grid.RowDefinitions>
<Viewbox Grid.Row="0" Stretch="Fill">
Viewbox>
Grid>