Mega Code Archive

 
Categories / C# / WPF
 

Add TextBlock into a Grid

<Window x:Class="WpfApplication1.Window1"     xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"     xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"     Title="Page1"     >     <Grid>         <TextBlock>WPF is a fine tool for building web applications</TextBlock>     </Grid> </Window>