<Window x:Class="GraphDrawer.EdgeCreateWindow"
        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"
        xmlns:wpfTool="clr-namespace:Xceed.Wpf.Toolkit;assembly=Xceed.Wpf.Toolkit"
        Title="Create New Edge" Height="200" Width="400">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="50"/>
            <RowDefinition Height="50"/>
            <RowDefinition Height="50"/>
        </Grid.RowDefinitions>
        <StackPanel Orientation="Horizontal">
            <TextBlock Text="Вес ребра" FontSize="18" Margin="5" VerticalAlignment="Center" HorizontalAlignment="Left"/>
            <Slider x:Name="weightSlider" VerticalAlignment="Center" TickPlacement="BottomRight"  Width="200" Minimum="0" Maximum="30" SmallChange="1" ValueChanged="weightSlider_ValueChanged"/>
            <TextBox Width="30" VerticalAlignment="Center" FontSize="18" BorderThickness="1" BorderBrush="Black" x:Name="currentWeightBox" Text="{Binding ElementName=weightSlider, Path=Value}" TextAlignment="Center" IsReadOnly="True"/>
        </StackPanel>
        <TextBlock Grid.Row="1" FontSize="18" Margin="10" VerticalAlignment="Top" HorizontalAlignment="Left" Text="Цвет:"/>
        <wpfTool:ColorCanvas x:Name="colorCanvas" Width="230" Background="White" BorderThickness="0" HorizontalAlignment="Left" Margin="60,0,0,0" Grid.Row="1"/>
        <UniformGrid Columns="2" Grid.Row="2">
            <Button x:Name="focusedBtn" Margin="20,10" Background="#FF4FCFFF" Content="Направленную"/>
            <Button x:Name="unfocusedBtn" Margin="20,10" Background="#FF4FCFFF" Content="Ненаправленную"/>
        </UniformGrid>
    </Grid>
</Window>
