<Window x:Class="_12_形状画刷和变换_13ImageBrush.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-形状画刷和变换-13ImageBrush" Height="800" Width="800">
    <ScrollViewer>
        <StackPanel Margin="10">

            <StackPanel Height="200" Orientation="Horizontal">
                <StackPanel.Background>
                    <ImageBrush ImageSource="public/003540AH4M72.jpg" ViewportUnits="Absolute" TileMode="Tile"
                                Viewport="0,0 32,32" />
                </StackPanel.Background>
                <Label>固定尺寸 TileMode="FlipX"</Label>
            </StackPanel>

            <StackPanel Height="200" Orientation="Horizontal">
                <StackPanel.Background>
                    <ImageBrush ImageSource="public/003540AH4M72.jpg" Viewport="0,0 32,32" TileMode="FlipY"
                                ViewportUnits="Absolute" />
                </StackPanel.Background>
                <Label>固定尺寸 TileMode="FlipY"</Label>
            </StackPanel>

            <StackPanel Height="200" Orientation="Horizontal">
                <StackPanel.Background>
                    <ImageBrush ImageSource="public/003540AH4M72.jpg" Viewport="0,0 32,32" TileMode="FlipY"
                                ViewportUnits="Absolute" />
                </StackPanel.Background>
                <Label>固定尺寸 TileMode="FlipY"</Label>
            </StackPanel>

            <StackPanel Height="200" Orientation="Horizontal">
                <StackPanel.Background>
                    <ImageBrush ImageSource="public/003540AH4M72.jpg" Viewport="0,0 32,32" ViewportUnits="Absolute"
                                TileMode="FlipXY" />
                </StackPanel.Background>
                <Label>固定尺寸 TileMode="FlipXY"</Label>
            </StackPanel>

        </StackPanel>
    </ScrollViewer>
</Window>