63 lines
2.1 KiB
XML
63 lines
2.1 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"
|
|
Background="AliceBlue"
|
|
Width="800" Height="600"
|
|
MinWidth="800"
|
|
MinHeight="600"
|
|
|
|
>
|
|
<Design.DataContext>
|
|
<vm:MainWindowViewModel/>
|
|
</Design.DataContext>
|
|
<DockPanel>
|
|
<Grid DockPanel.Dock="Top" ColumnDefinitions="100,150,4*" RowDefinitions="Auto,Auto,Auto" Name="ggGrid">
|
|
<Button Name="btnOpenFile"
|
|
Content="Open File"
|
|
Click="OpenFile_Click"
|
|
Grid.Row="0" Grid.Column="0"
|
|
Margin="10 10 0 0"
|
|
/>
|
|
<TextBlock Name="tbSourcePath"
|
|
Text="{Binding SourcePath}"
|
|
FontSize="18"
|
|
Grid.Row="0" Grid.Column="1"
|
|
Grid.ColumnSpan="2"
|
|
Margin="10 10 0 0"
|
|
/>
|
|
<Label Name="lbFileType"
|
|
Grid.Row="1" Grid.Column="0"
|
|
Grid.ColumnSpan="2"
|
|
FontSize="18"
|
|
Margin="10 0 0 0"
|
|
Content="File Type:"
|
|
/>
|
|
<ListBox Name="lbParsers"
|
|
Margin="10 0 0 0"
|
|
Grid.Row="2" Grid.Column="0"
|
|
Grid.ColumnSpan="2"
|
|
Items="{Binding Parsers}"
|
|
SelectedItem="{Binding SelectedParser}"
|
|
SelectedIndex="0"
|
|
/>
|
|
<TextBox Name="tbContents"
|
|
Grid.Row="1" Grid.Column="2"
|
|
Grid.RowSpan="2"
|
|
Margin="10 0 10 0"
|
|
/>
|
|
|
|
</Grid>
|
|
<TextBox Margin="10">
|
|
temp for webview
|
|
</TextBox>
|
|
</DockPanel>
|
|
</Window>
|