| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990 |
- <Window
- BorderThickness="1"
- CanResize="False"
- CornerRadius="8"
- SizeToContent="WidthAndHeight"
- Title="Loading..."
- x:Class="PicView.Avalonia.Win32.Views.AboutWindow"
- x:DataType="viewModels:MainViewModel"
- xmlns="https://github.com/avaloniaui"
- xmlns:customControls="clr-namespace:PicView.Avalonia.CustomControls;assembly=PicView.Avalonia"
- xmlns:viewModels="clr-namespace:PicView.Avalonia.ViewModels;assembly=PicView.Avalonia"
- xmlns:views="clr-namespace:PicView.Avalonia.Views;assembly=PicView.Avalonia"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
- <Border
- BorderBrush="{DynamicResource WindowBorderColor}"
- BorderThickness="1"
- PointerPressed="MoveWindow"
- x:Name="ParentBorder">
- <StackPanel>
- <DockPanel Height="28" LastChildFill="True">
- <Border
- Background="{DynamicResource WindowButtonBackgroundColor}"
- BorderBrush="{DynamicResource MainBorderColor}"
- BorderThickness="0,0,1,0"
- DockPanel.Dock="Left"
- x:Name="IconBorder">
- <Image
- Height="25"
- Margin="7,1,7,1"
- Source="{StaticResource LogoImage}"
- Width="20" />
- </Border>
- <customControls:IconButton
- Background="{DynamicResource WindowButtonBackgroundColor}"
- BorderThickness="0"
- Classes="hover"
- Click="Close"
- ClickMode="Release"
- Data="{StaticResource CloseGeometry}"
- DockPanel.Dock="Right"
- Foreground="{DynamicResource MainTextColor}"
- IconHeight="10"
- IconWidth="10"
- Width="30"
- x:Name="CloseButton" />
- <customControls:IconButton
- Background="{DynamicResource WindowButtonBackgroundColor}"
- BorderBrush="{DynamicResource MainBorderColor}"
- BorderThickness="1,0,1,0"
- Classes="hover"
- Click="Minimize"
- Data="{StaticResource MinimizeGeometry}"
- DockPanel.Dock="Right"
- Foreground="{DynamicResource MainTextColor}"
- IconHeight="12"
- IconWidth="12"
- Width="30"
- x:Name="MinimizeButton" />
- <TextBlock
- Background="{DynamicResource WindowSecondaryBackgroundColor}"
- Classes="txt"
- Foreground="{DynamicResource MainTextColor}"
- Height="28"
- LineHeight="28"
- Padding="30,0,0,0"
- Text="{CompiledBinding About}"
- TextAlignment="Center"
- x:Name="TitleText" />
- </DockPanel>
- <Rectangle
- Fill="{DynamicResource WindowBorderColor}"
- Height="1"
- x:Name="BorderRectangle" />
- <views:AboutView
- Background="{DynamicResource NoisyTexture}"
- Focusable="True"
- Margin="0"
- Padding="10,2,5,10"
- PointerPressed="MoveWindow" />
- </StackPanel>
- </Border>
- </Window>
|