-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathErrorView.xaml
More file actions
19 lines (18 loc) · 1.04 KB
/
ErrorView.xaml
File metadata and controls
19 lines (18 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<Window x:Class="ChatDemoGUI.ErrorView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Error - Chat Demo" Height="200" Width="430"
Icon="Images/error.ico"
Style="{StaticResource PageBackground}">
<StackPanel VerticalAlignment="Center" Orientation="Vertical" Margin="7,7,7,7">
<!-- Define a text box to show error messages. -->
<TextBox Grid.Row="0" Grid.Column="2" x:Name="txtErrorMessage"
FontSize="12" Text="" TextWrapping="Wrap" IsEnabled="True"
ScrollViewer.CanContentScroll="True" ScrollViewer.HorizontalScrollBarVisibility="Auto"
ScrollViewer.VerticalScrollBarVisibility="Auto" IsReadOnly="True"
MinLines="4" MaxLines="4" Style="{StaticResource PageBackground}"/>
<!-- The close button -->
<Button MaxWidth="60" Click="close" IsDefault="True"
Style="{StaticResource ToolBarButton}">Close</Button>
</StackPanel>
</Window>