<Window x:Class="HandyControlDemo.Window.DialogDemoWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:hc="https://handyorg.github.io/handycontrol"
        xmlns:langs="clr-namespace:HandyControlDemo.Properties.Langs"
        xmlns:data="clr-namespace:HandyControlDemo.Data"
        hc:Dialog.Token="{x:Static data:MessageToken.DialogDemoWindow}"
        DataContext="{Binding DialogDemo,Source={StaticResource Locator}}"
        Title="{x:Static langs:Lang.DialogDemo}"
        Width="800"
        Height="500">
    <hc:TransitioningContentControl>
        <StackPanel Margin="32" VerticalAlignment="Center">
            <Button Content="{x:Static langs:Lang.ShowInCurrentWindow}" Command="{Binding ShowWithTokenCmd}" CommandParameter="{x:Static data:MessageToken.DialogDemoWindow}"/>
            <Button Margin="0,10,0,0" Content="{x:Static langs:Lang.ShowInMainWindow}" Command="{Binding ShowWithTokenCmd}" CommandParameter="{x:Static data:MessageToken.MainWindow}"/>
        </StackPanel>
    </hc:TransitioningContentControl>
</Window>
