LANCommander/LANCommander.Launcher/Views/ManualViewerWindow.axaml
Pat Hartl b183e4b18c Remove old launcher, rename Avalonia launcher
Also adds ARM builds for Linux + Windows launcher
2026-06-06 05:49:24 -05:00

33 lines
1.3 KiB
XML

<Window xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:vm="using:LANCommander.Launcher.ViewModels"
xmlns:components="using:LANCommander.Launcher.Views.Components"
x:Class="LANCommander.Launcher.Views.ManualViewerWindow"
x:DataType="vm:ManualViewerViewModel"
Title="{Binding Title}"
Width="900"
Height="700"
WindowStartupLocation="CenterOwner">
<Grid RowDefinitions="Auto,*">
<!-- Header -->
<Border Grid.Row="0"
Padding="16,12"
Background="{DynamicResource SystemControlBackgroundChromeMediumLowBrush}">
<Grid ColumnDefinitions="*,Auto">
<TextBlock Text="{Binding Title}"
FontSize="18"
FontWeight="SemiBold"
VerticalAlignment="Center" />
<Button Grid.Column="1"
Content="Close"
Command="{Binding CloseCommand}"
Padding="16,8" />
</Grid>
</Border>
<!-- PDF Viewer -->
<components:PdfViewerControl Grid.Row="1"
Source="{Binding FilePath}" />
</Grid>
</Window>