How Stretch the button(s) to fit in the cell ?

  • Thread starter Thread starter Vadim Ivanof
  • Start date Start date
V

Vadim Ivanof

Guest
<Grid.ColumnDefinitions>
<ColumnDefinition/>
<ColumnDefinition/>

</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition />
<RowDefinition />

</Grid.RowDefinitions>

<StackPanel Grid.Row="1" Grid.Column="1" Background="CadetBlue" >
<Button Name="Ali1" Content="ali0001" VerticalAlignment="Stretch" />
<Button Name="Ali2" Content="Ali0002" HorizontalAlignment="Stretch" />
</StackPanel>


Continue reading...
 
Back
Top