<dx:ThemedWindow
             x:Class="VIZ.Package.Module.SaveLayoutView"
             xmlns:dx="http://schemas.devexpress.com/winfx/2008/xaml/core"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:local="clr-namespace:VIZ.Package.Module"
             Title="{Binding Path=TitleName}"
             mc:Ignorable="d"
             Width="300" Height="160"  ResizeMode="NoResize"  WindowStartupLocation="CenterScreen"  >
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="30"></RowDefinition>
            <RowDefinition Height="40"></RowDefinition>
            <RowDefinition Height="50"></RowDefinition>
        </Grid.RowDefinitions>

        <TextBlock Text="布局名称:" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="10,0,10,0" Grid.Row="0"></TextBlock>
        
        <TextBox Text="{Binding Path=FolderName,Mode=TwoWay}" Grid.Row="1"  VerticalContentAlignment="Center" HorizontalAlignment="Left"  HorizontalContentAlignment="Left"
                 AcceptsReturn="False" TextWrapping="NoWrap" Height="30" Margin="10,0,10,0" Width="275"></TextBox>


        <StackPanel Grid.Row="2"  Orientation="Horizontal" HorizontalAlignment="Right">
            <Button Content="确定" Width="80" Height="30" Margin="10" Command="{Binding EnterCommand}"></Button>
            <Button Content="取消" Width="80" Height="30" Margin="10" Command="{Binding CancelCommand}"></Button>
        </StackPanel>
    </Grid>
</dx:ThemedWindow>
