17 lines
1.2 KiB
XML
17 lines
1.2 KiB
XML
<f:UserControlBase x:Class="Store.Management.Views.FrameworkTestDialog" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:f="clr-namespace:Store.Management.Framework.Controls;assembly=Store.Management.Framework" Width="520" Height="300">
|
||
<Grid Margin="24">
|
||
<Grid.RowDefinitions>
|
||
<RowDefinition Height="Auto" />
|
||
<RowDefinition Height="Auto" />
|
||
<RowDefinition Height="*" />
|
||
<RowDefinition Height="Auto" />
|
||
</Grid.RowDefinitions>
|
||
<TextBlock Text="编辑返回内容" FontSize="20" FontWeight="SemiBold" />
|
||
<TextBox Height="36" Grid.Row="1" Text="{Binding Message, UpdateSourceTrigger=PropertyChanged}" MaxLength="200" Margin="0,16,0,12" />
|
||
<TextBlock Grid.Row="2" Text="{Binding ErrorMsg}" Foreground="Firebrick" TextWrapping="Wrap" />
|
||
<StackPanel Grid.Row="3" Orientation="Horizontal" HorizontalAlignment="Right">
|
||
<Button Height="36" Content="取消(Esc)" Command="{Binding CancelCommand}" Padding="12,6" Margin="0,0,12,0" />
|
||
<Button Height="36" Content="确认(Enter)" Command="{Binding ConfirmCommand}" Padding="12,6" />
|
||
</StackPanel>
|
||
</Grid>
|
||
</f:UserControlBase> |