<UserControl
    x:Class="HBLConsole.PryUserControl.TitleTextBlock"
    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:local="clr-namespace:HBLConsole.PryUserControl"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    d:DesignHeight="30"
    d:DesignWidth="100"
    mc:Ignorable="d">
    <Grid>
        <Canvas
            Name="canvas"
            Width="auto"
            Height="auto"
            SizeChanged="Canvas_SizeChanged">
            <Polygon x:Name="poly">
                <Polygon.Fill>
                    <LinearGradientBrush StartPoint="0,0.5" EndPoint="1,0.5">
                        <GradientStop Color="#ff1247EC" />
                        <GradientStop Offset="1" Color="#111247EC" />
                    </LinearGradientBrush>
                </Polygon.Fill>
            </Polygon>
        </Canvas>
    </Grid>
</UserControl>
