<UserControl x:Class="XHandler.View.TestList.ExperimentRemark"
|
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:XHandler.View.TestList"
|
xmlns:str="clr-namespace:XHandler.Properties"
|
mc:Ignorable="d"
|
d:DesignHeight="450" d:DesignWidth="800" Style="{StaticResource UCStyle}" Loaded="UserControl_Loaded">
|
<Grid>
|
<Grid.RowDefinitions>
|
<RowDefinition Height="*"/>
|
<RowDefinition Height="auto"/>
|
<RowDefinition Height="*"/>
|
</Grid.RowDefinitions>
|
<Grid.ColumnDefinitions>
|
<ColumnDefinition Width="*"/>
|
<ColumnDefinition Width="auto"/>
|
<ColumnDefinition Width="*"/>
|
</Grid.ColumnDefinitions>
|
<Grid Grid.Row="1" Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Center" Width="600" Height="200">
|
<Grid.RowDefinitions>
|
<RowDefinition Height="50"/>
|
<RowDefinition Height="*"/>
|
</Grid.RowDefinitions>
|
<Border Grid.Row="0" Background="{DynamicResource blueBrush}" CornerRadius="10 10 0 0" BorderThickness="0">
|
<Grid>
|
<TextBlock x:Name="tbkExperimentName" Text="{x:Static str:Resources.strExperimentFolderRemark}" HorizontalAlignment="Left" VerticalAlignment="Center" Margin="20 0" FontSize="20"
|
Foreground="White" FontWeight="Bold"/>
|
<Button Content="×" HorizontalAlignment="Right" VerticalAlignment="Center" VerticalContentAlignment="Center" Margin="10 0" FontSize="28" Width="40" Height="40"
|
FontWeight="Bold" Foreground="White" Style="{DynamicResource BlueButtonStyle}" Background="{DynamicResource blueBrush}" Click="Button_Click"/>
|
</Grid>
|
</Border>
|
<Border Grid.Row="1" Background="White" CornerRadius="0 0 10 10" BorderThickness="1" BorderBrush="{DynamicResource blueBrush}">
|
<Grid Margin="2,0,2,3">
|
<Grid.RowDefinitions>
|
<RowDefinition Height="80"/>
|
<RowDefinition Height="*"/>
|
</Grid.RowDefinitions>
|
<Grid.ColumnDefinitions>
|
<ColumnDefinition Width="90"/>
|
<ColumnDefinition Width="*"/>
|
</Grid.ColumnDefinitions>
|
|
<TextBlock Text="{x:Static str:Resources.strExperimentFolderRemark}" VerticalAlignment="Bottom" HorizontalAlignment="Right" Margin="0" FontSize="16"/>
|
<TextBox x:Name="tbxRemark" TextWrapping="Wrap" Grid.Row="0" Grid.Column="1" Height="70" FontSize="16" VerticalContentAlignment="Center"
|
VerticalAlignment="Bottom" Margin="20,0,20,0" Background="{DynamicResource lightGrayBrush}" BorderThickness="0" BorderBrush="Red"/>
|
<TextBlock x:Name="tbTips" Grid.Row="1" Grid.Column="1" Height="30" FontSize="12" Foreground="Red" Text="" VerticalAlignment="Top"
|
Margin="20 0"/>
|
|
<Button x:Name="btnSave" Grid.Row="2" Grid.Column="1" Content="{x:Static str:Resources.btnSave}" HorizontalAlignment="Right" VerticalAlignment="Center" Margin="20 0" FontSize="16" Width="80" Height="40"
|
Foreground="White" Style="{DynamicResource BlueButtonStyle}" Background="{DynamicResource blueBrush}" Click="btnSave_Click"/>
|
|
<Button Grid.Row="2" Grid.Column="1" Content="{x:Static str:Resources.btnCancel}" HorizontalAlignment="Right" VerticalAlignment="Center" Margin="0 0 120 0" FontSize="16" Width="80" Height="40"
|
Foreground="White" Style="{DynamicResource BlueButtonStyle}" Background="LightGray" Click="Button_Click"/>
|
|
|
</Grid>
|
</Border>
|
</Grid>
|
</Grid>
|
</UserControl>
|