<Window x:Class="WpfApplication1.Window1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="Window1" Height="400" Width="300"> <Grid> <Grid.ColumnDefinitions> <ColumnDefinition /> </Grid.ColumnDefinitions> <Grid.RowDefinitions> <RowDefinition /> <RowDefinition /> </Grid.RowDefinitions> <Viewbox x:Name="V1" Grid.Column="0" Grid.Row="0"> <TextBlock x:Name="T1">Hello World</TextBlock> </Viewbox> <Viewbox x:Name="V2" Grid.Column="0" Grid.Row="1"> <TextBlock x:Name="L2">Hello</TextBlock> </Viewbox> </Grid> </Window>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)