Skip to content

Instantly share code, notes, and snippets.

@vesarautiainen
Last active November 28, 2019 08:08
Show Gist options
  • Save vesarautiainen/fb387dca87cc66be799f5886644500cf to your computer and use it in GitHub Desktop.
Save vesarautiainen/fb387dca87cc66be799f5886644500cf to your computer and use it in GitHub Desktop.

Revisions

  1. vesarautiainen renamed this gist Nov 28, 2019. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  2. vesarautiainen created this gist Nov 28, 2019.
    18 changes: 18 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,18 @@
    <Border HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="8" BorderBrush="Black" BorderThickness="2">
    <Grid ShowGridLines="True">
    <Grid.RowDefinitions>
    <RowDefinition Height="Auto" />
    <RowDefinition Height="Auto" />
    </Grid.RowDefinitions>
    <Grid.ColumnDefinitions>
    <ColumnDefinition Width="Auto" />
    <ColumnDefinition Width="*" />
    </Grid.ColumnDefinitions>
    <Button Width="100" Height="30" Margin="6" Grid.Column="0" VerticalAlignment="Top">Button 1</Button>
    <WrapPanel Background="LightBlue" Grid.Column="1">
    <Button Width="100" Height="30" Margin="6">Button 2</Button>
    <Button Width="100" Height="30" Margin="6">Button 3</Button>
    </WrapPanel>
    <Button Width="100" Height="30" Margin="6" Grid.Column="1" Grid.Row="1" HorizontalAlignment="Right">Button 4</Button>
    </Grid>
    </Border>