50 lines
1.7 KiB
XML
50 lines
1.7 KiB
XML
<Window xmlns="https://github.com/avaloniaui"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:vm="using:btd_pdf_avalonia.ViewModels"
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
|
|
x:Class="btd_pdf_avalonia.Views.MainWindow"
|
|
xmlns:collections="clr-namespace:System.Collections;assembly=netstandard"
|
|
xmlns:sys="clr-namespace:System;assembly=System.Runtime"
|
|
Icon="/Assets/avalonia-logo.ico"
|
|
Title="btd_pdf_avalonia"
|
|
Width="1200" Height="800"
|
|
MinWidth="800"
|
|
MinHeight="600"
|
|
ExtendClientAreaToDecorationsHint="True"
|
|
>
|
|
<Design.DataContext>
|
|
<vm:MainWindowViewModel/>
|
|
</Design.DataContext>
|
|
|
|
<Grid ColumnDefinitions="100,150,4*" RowDefinitions="Auto,Auto,Auto,Auto,Auto" Margin="8" Name="ggGrid">
|
|
<Button Name="btnOpenFile" Content="Open File" Click="OpenFile_Click" Grid.Row="0" Grid.Column="0"/>
|
|
<TextBlock Text="{Binding SourcePath}" FontSize="18" Grid.Row="0" Grid.Column="1" />
|
|
|
|
<Label
|
|
Grid.Row="1"
|
|
Grid.ColumnSpan="2"
|
|
FontSize="18"
|
|
>
|
|
File Type:
|
|
</Label>
|
|
<ListBox
|
|
Name="lbParsers"
|
|
FontSize="8"
|
|
Margin="10 0 0 0"
|
|
Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="2"
|
|
Items="{Binding Parsers}"
|
|
SelectedItem="{Binding SelectedParser}"
|
|
SelectedIndex="0"
|
|
/>
|
|
<TextBox Grid.Row="1" Grid.Column="2" Grid.RowSpan="4" Margin="10 0 0 0">
|
|
|
|
</TextBox>
|
|
|
|
<TextBox Grid.Row="3" Grid.Column="0" Margin="10 0 0 0">
|
|
|
|
</TextBox>
|
|
</Grid>
|
|
</Window>
|