<Window x:Class="_12_形状画刷和变换_12ImageBrush.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        mc:Ignorable="d"
        Icon="public/003540AH4M72.jpg" Title="12-形状画刷和变换-12ImageBrush" Height="450" Width="800">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition />
            <RowDefinition />
        </Grid.RowDefinitions>
        <Grid>
            <Grid.Background>
                <ImageBrush ImageSource="public/003540AH4M72.jpg" Stretch="Uniform" />
            </Grid.Background>
        </Grid>

        <Grid Grid.Row="1">
            <Grid.Background>
                <ImageBrush ImageSource="public/003540AH4M72.jpg" Stretch="Uniform" Viewbox="0.4,0.5 0.2,0.2" />
            </Grid.Background>
        </Grid>
    </Grid>
</Window>