migration
This commit is contained in:
parent
561881c9aa
commit
f133c740e1
55 changed files with 2928 additions and 20 deletions
33
test/Discovery.Loader.Avalonia/Views/MainView.axaml
Normal file
33
test/Discovery.Loader.Avalonia/Views/MainView.axaml
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
<UserControl xmlns="https://github.com/avaloniaui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:vm="clr-namespace:Discovery.Loader.ViewModels"
|
||||
mc:Ignorable="d"
|
||||
x:Class="Discovery.Loader.Views.MainView"
|
||||
x:DataType="vm:MainViewModel"
|
||||
Width="300"
|
||||
Height="100">
|
||||
<Design.DataContext>
|
||||
<vm:MainViewModel />
|
||||
</Design.DataContext>
|
||||
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="*" />
|
||||
<RowDefinition Height="auto" />
|
||||
<RowDefinition Height="auto" />
|
||||
<RowDefinition Height="*" />
|
||||
</Grid.RowDefinitions>
|
||||
<TextBlock Grid.Row="1"
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Center"
|
||||
Margin="0,0,0,20"
|
||||
Text="{Binding Text, Mode=OneWay}"/>
|
||||
<ProgressBar Grid.Row="2"
|
||||
Margin="10,0,10,0"
|
||||
Minimum="0"
|
||||
Maximum="1"
|
||||
Value="{Binding Progress, Mode=OneWay}" />
|
||||
</Grid>
|
||||
</UserControl>
|
||||
Loading…
Add table
Add a link
Reference in a new issue