<Window x:Class="BallanceTasEditor.Frontend.Views.GotoDialog"
        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"
        xmlns:local="clr-namespace:BallanceTasEditor.Frontend.Views"
        xmlns:vm="clr-namespace:BallanceTasEditor.Frontend.ViewModels"
        xmlns:widget="clr-namespace:BallanceTasEditor.Frontend.Widgets"
        d:DataContext="{d:DesignInstance vm:GotoDialog}"
        mc:Ignorable="d" WindowStartupLocation="CenterOwner" ResizeMode="NoResize" ShowInTaskbar="False"
        Title="Goto..." Height="180" Width="400" Icon="/Frontend/Assets/App.ico">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="auto"/>
            <RowDefinition Height="*"/>
            <RowDefinition Height="auto"/>
        </Grid.RowDefinitions>

        <widget:BannerBar Grid.Row="0"
                          BannerText="Jump into your specified index of frame."
                          BannerIcon="/Frontend/Assets/Goto.ico"/>

        <Grid Grid.Row="1">
            <Grid.RowDefinitions>
                <RowDefinition Height="auto"/>
                <RowDefinition Height="*"/>
            </Grid.RowDefinitions>

            <TextBox Margin="10" Padding="3" Grid.Row="0" Grid.Column="2" VerticalAlignment="Center"/>
        </Grid>

        <StackPanel Orientation="Horizontal" Grid.Row="2" HorizontalAlignment="Right" Margin="10">
            <widget:IconButton Margin="5" Style="{StaticResource OkIconButtonStyle}" IsDefault="True"
                               Command="{Binding OkCommand}"/>
            <widget:IconButton Margin="5" Style="{StaticResource CancelIconButtonStyle}"
                               Command="{Binding CancelCommand}"/>
        </StackPanel>
    </Grid>
</Window>
