How do i put a border on my grid in WPF?
Posted
by Jason94
on Stack Overflow
See other posts from Stack Overflow
or by Jason94
Published on 2010-05-04T22:08:01Z
Indexed on
2010/05/04
22:48 UTC
Read the original article
Hit count: 260
How do i put a border on my grid in C#/WPF?
This is what i would like it to be, but puts a border around the whole thing instead of the grid control i put in my application.
<Grid>
<Border BorderBrush="Black" BorderThickness="2">
<Grid Height="166" HorizontalAlignment="Left" Margin="12,12,0,0" Name="grid1" VerticalAlignment="Top" Width="479" Background="#FFF2F2F2" />
</Border>
... and so on ...
© Stack Overflow or respective owner