Posted By

pureequal on 08/26/08


Tagged

grid WPF


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

umang_nine


WPF Grid


 / Published in: C#
 

  1. <Window x:Class="WpfApplication1.Window1"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:own="clr-namespace:WpfApplication1"
  5. Title="Window1" Height="300" Width="300">
  6. <Grid>
  7. <Grid.ColumnDefinitions>
  8. <ColumnDefinition Width="100"></ColumnDefinition>
  9. <ColumnDefinition Width="*"></ColumnDefinition>
  10. <ColumnDefinition Width="2*"></ColumnDefinition>
  11. </Grid.ColumnDefinitions>
  12. <Grid.RowDefinitions>
  13. <RowDefinition Height="100"></RowDefinition>
  14. <RowDefinition Height="*"></RowDefinition>
  15. </Grid.RowDefinitions>
  16.  
  17. <Grid Grid.Column="1" Grid.ColumnSpan="2">
  18. <Label Content="Label"></Label>
  19. </Grid>
  20. </Grid>
  21. </Window>

Report this snippet  

You need to login to post a comment.