<dx:ThemedWindow x:Class="VIZ.Package.Common.TextInputWindow"
                 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:dx="http://schemas.devexpress.com/winfx/2008/xaml/core"
                 xmlns:dxmvvm="http://schemas.devexpress.com/winfx/2008/xaml/mvvm"
                 xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors"
                 xmlns:local="clr-namespace:VIZ.Package.Common"
                 mc:Ignorable="d" 
                 WindowStyle="None" WindowStartupLocation="CenterScreen"
                 d:DataContext="{d:DesignInstance Type=local:TextInputWindowModel}" 
                 d:Background="White"
                 Title="TextInputWindow" Height="140" Width="500">

    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="*"></RowDefinition>
            <RowDefinition Height="60"></RowDefinition>
        </Grid.RowDefinitions>
        <local:TextInputControl Margin="20,10,30,0"></local:TextInputControl>
        <!-- 按钮组 -->
        <StackPanel Grid.Row="1" Orientation="Horizontal" HorizontalAlignment="Right">
            <Button Content="确定" Height="30" Width="80"
                    Command="{Binding Path=EnterCommand}"></Button>
            <Button Content="取消" Height="30" Width="80" Margin="20,0,30,0"
                    Command="{Binding Path=CancelCommand}"></Button>
        </StackPanel>
    </Grid>
</dx:ThemedWindow>
