Mega Code Archive

 
Categories / VB.Net Tutorial / WPF
 

Label in a Grid

<Page x: Class="WinFXXAMLBrowserApplication1.Page1"     xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"     xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"     Title="Page1">     <Grid>     <Label Width="230.63"             Height="88.27"             VerticalAlignment="Top"             HorizontalAlignment="Stretch"             Grid.Column="0"             Grid.ColumnSpan="1"             Grid.Row="0"             Grid.RowSpan="1"             Margin="10.37,19.72,59,0"             Name="label1">Hello World</Label>   </Grid> </Page>