zaaReloaded2/zaaReloaded2/Views/IoErrorView.xaml

55 lines
2.3 KiB
XML
Executable File

<!--
IoErrorView.xaml
part of zaaReloaded2
Copyright 2015-2017 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"
ResizeMode="NoResize" ShowInTaskbar="False"
b:WindowState.CenterScreen="True"
Title="Import/Export-Fehler"
Icon="pack://application:,,,/zaaReloaded2;component/Icons/icon.png"
>
<Window.Resources>
<ResourceDictionary Source="/Bovender;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" IsCancel="True" IsDefault="True" 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}"
TextWrapping="Wrap" Foreground="Crimson" />
</StackPanel>
</DockPanel>
</Window>