Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
26 lines (24 sloc) 1.04 KB
<views:MvxWindowsPage
xmlns:views="using:MvvmCross.Platforms.Uap.Views"
x:Class="TipCalc.Uwp.Views.FirstView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:TipCalc.Uwp.Views"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d">
<Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
<StackPanel>
<TextBlock Text="SubTotal"/>
<TextBox Text="{Binding SubTotal, Mode=TwoWay}"/>
<TextBlock Text="How generous?"/>
<Slider Value="{Binding Generosity, Mode=TwoWay}"
Minimum="0"
Maximum="100"/>
<TextBlock Text="Tip:"/>
<TextBlock Text="{Binding Tip}"/>
<TextBlock Text="SubTotal:"/>
<TextBlock Text="{Binding Total}"/>
</StackPanel>
</Grid>
</views:MvxWindowsPage>