2020-03-16 18:29:06 +01:00
|
|
|
<Window x:Class="SafeExamBrowser.UserInterface.Desktop.Windows.LogWindow" x:ClassModifier="internal"
|
2017-08-22 10:58:36 +02:00
|
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
2019-01-11 15:32:47 +01:00
|
|
|
xmlns:local="clr-namespace:SafeExamBrowser.UserInterface.Desktop"
|
2019-11-20 10:45:08 +01:00
|
|
|
mc:Ignorable="d" Title="{Binding Path=WindowTitle}" Background="Black" Foreground="White" Height="750" Width="1000" MinHeight="350"
|
2020-03-16 18:29:06 +01:00
|
|
|
MinWidth="350" Topmost="True" WindowStartupLocation="CenterScreen" Icon="../Images/LogNotification.ico">
|
2019-03-15 09:44:17 +01:00
|
|
|
<Window.Resources>
|
|
|
|
<ResourceDictionary>
|
|
|
|
<ResourceDictionary.MergedDictionaries>
|
2020-03-16 18:29:06 +01:00
|
|
|
<ResourceDictionary Source="../Templates/ScrollViewers.xaml" />
|
2019-03-15 09:44:17 +01:00
|
|
|
</ResourceDictionary.MergedDictionaries>
|
|
|
|
</ResourceDictionary>
|
|
|
|
</Window.Resources>
|
2017-08-22 10:58:36 +02:00
|
|
|
<Grid>
|
2019-11-13 11:24:57 +01:00
|
|
|
<Grid.RowDefinitions>
|
|
|
|
<RowDefinition Height="Auto" />
|
|
|
|
<RowDefinition Height="*" />
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
<StackPanel Grid.Row="0" Background="White" Orientation="Horizontal">
|
|
|
|
<CheckBox Cursor="Hand" IsChecked="{Binding AutoScroll}" Margin="5" VerticalContentAlignment="Center" Content="{Binding AutoScrollTitle}" />
|
2019-11-22 15:21:14 +01:00
|
|
|
<CheckBox Cursor="Hand" IsChecked="{Binding Path=Topmost, RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=Window}}" Margin="5" VerticalContentAlignment="Center" Content="{Binding TopmostTitle}" />
|
2019-11-13 11:24:57 +01:00
|
|
|
</StackPanel>
|
|
|
|
<ScrollViewer x:Name="ScrollViewer" Grid.Row="1" HorizontalScrollBarVisibility="Auto" Padding="5,5,5,0" VerticalScrollBarVisibility="Auto"
|
|
|
|
Template="{StaticResource SmallBarScrollViewer}">
|
2019-10-09 09:54:35 +02:00
|
|
|
<TextBlock x:Name="LogContent" FontFamily="Consolas" Foreground="White" />
|
2017-08-22 10:58:36 +02:00
|
|
|
</ScrollViewer>
|
|
|
|
</Grid>
|
|
|
|
</Window>
|