Files
velopack/samples/CSharpUno/UnoSample/MainPage.xaml
Steve Bilogan 4d1388fb5f chore: update uno sample app with latest (#584)
* chore: update uno sample app with latest

* Cleaning up UnoSample to use SampleHelper

Updated the top level Directory.Build.targets to support samples with solutions and nested directories.
Added build scripts.

* Adding Uno sample to GHA

* Remove framework bootstrap

* Fixing mainExe name on non-windows

---------

Co-authored-by: Kevin Bost <kitokeboo@gmail.com>
2025-03-26 07:29:19 -07:00

25 lines
915 B
XML

<Page x:Class="UnoSample.MainPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:UnoSample"
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
<Grid>
<StackPanel HorizontalAlignment="Center"
VerticalAlignment="Center"
Spacing="16">
<TextBlock Text="The app is not installed with Velopack"
Visibility="{x:Bind NotInstalled}" />
<TextBlock Text="{x:Bind ViewModel.CurrentVersion}" />
<Button HorizontalAlignment="Center"
Command="{Binding CheckForUpdatesCommand}"
Content="Check For Updates" />
<Button HorizontalAlignment="Center"
Command="{Binding DownloadUpdatesCommand}"
Content="Download Updates"
Visibility="{x:Bind ViewModel.HasUpdate, Mode=OneWay}" />
<TextBlock Text="{Binding Status}" />
</StackPanel>
</Grid>
</Page>