zaaReloaded2/zaaReloaded2/Views/IoErrorView.xaml
Daniel Kraus 1afa9bb14f Fix views.
Needed to set all WindowStyles to ToolWindow and make the windows
topmost because Word and WPF do not play together all too well.
2015-08-12 10:04:59 +02:00

54 lines
2.2 KiB
XML
Executable File

<!--
IoErrorView.xaml
part of zaaReloaded2
Copyright 2015 Daniel Kraus
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<Window x:Class="zaaReloaded2.Views.IoErrorView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:b="clr-namespace:Bovender.Mvvm.Views.Settings;assembly=Bovender"
SizeToContent="WidthAndHeight" MaxWidth="480"
WindowStyle="ToolWindow" Topmost="True"
ResizeMode="NoResize" ShowInTaskbar="False"
b:WindowState.CenterScreen="True"
Title="Import/Export-Fehler"
>
<Window.Resources>
<ResourceDictionary Source="/zaaReloaded2;component/Style.xaml" />
</Window.Resources>
<DockPanel Margin="10">
<TextBlock DockPanel.Dock="Left" Margin="0 0 20 0" LineHeight="72" LineStackingStrategy="BlockLineHeight"
Text="X" FontSize="72" FontWeight="ExtraBold" Foreground="IndianRed">
<TextBlock.Effect>
<DropShadowEffect />
</TextBlock.Effect>
</TextBlock>
<StackPanel DockPanel.Dock="Bottom" HorizontalAlignment="Right" Margin="0 10 0 0">
<Button Content="Schließen" Command="{Binding CloseViewCommand}" />
</StackPanel>
<StackPanel>
<TextBlock TextWrapping="Wrap">
Die Aktion konnte nicht ausgeführt werden, weil Windows einen Fehler gemeldet hat.
</TextBlock>
<TextBlock Margin="0 10 0 0">
Fehlermeldung:
</TextBlock>
<TextBlock Margin="0 5 0 0" Text="{Binding Message}" />
</StackPanel>
</DockPanel>
</Window>