20211010_CZPM_upperpc/垂直剖面动态观测系统/View/LogView.xaml
2023-07-27 11:01:29 +08:00

36 lines
1.8 KiB
XML

<UserControl x:Class="垂直剖面动态观测系统.View.LogView"
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:垂直剖面动态观测系统.View" xmlns:model="clr-namespace:垂直剖面动态观测系统.Model" d:DataContext="{d:DesignInstance Type=model:ErrorMessageModel}"
mc:Ignorable="d"
d:DesignHeight="450" d:DesignWidth="800">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="30"/>
<RowDefinition/>
</Grid.RowDefinitions>
<StackPanel Orientation="Vertical">
<Button HorizontalAlignment="Center" VerticalAlignment="Center" Margin="0,5,0,0" Width="60" Height="20" Click="Button_Click">
<TextBlock Text="清空"/>
</Button>
</StackPanel>
<UniformGrid Columns="1" Grid.Row="1">
<Border Margin="10" CornerRadius="10">
<Border.Background>
<LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">
<GradientStop Color="LightCyan" Offset="0.0" />
<GradientStop Color="LightBlue" Offset="0.5" />
<GradientStop Color="DarkTurquoise" Offset="1.0" />
</LinearGradientBrush>
</Border.Background>
<ScrollViewer>
<TextBlock Text="{Binding ErrorMessageModel._MessageCon}" FontSize="15" Foreground="Black" Margin="10" TextWrapping="Wrap"/>
</ScrollViewer>
</Border>
</UniformGrid>
</Grid>
</UserControl>