xamarin-forms-samples/TipCalc
David Britch 16fe79451c
Updated TargetPlatformVersion on UWP (#684)
2021-01-07 12:26:28 +00:00
..
Screenshots WinPhone screenshot removal. 2019-12-03 15:26:13 +00:00
TipCalc Updated TargetPlatformVersion on UWP (#684) 2021-01-07 12:26:28 +00:00
README.md Add newline to end of each readme. 2020-01-06 11:42:16 +00:00
TipCalc.sln Enabled deploy. 2020-03-27 12:46:11 +00:00

README.md

name description page_type languages products urlFragment
Xamarin.Forms - TipCalc TipCalc is based on an existing iOS and Android sample but has been completely rewritten for Xamarin.Forms using XAML and data-binding. sample
csharp
xamarin
tipcalc

TipCalc

TipCalc is based on an existing iOS and Android sample but has been completely rewritten for Xamarin.Forms using XAML and data-binding. This new version now builds for iOS, Android, and the Universal Windows Platform.

TipCalc lets you type in a food-and-drink subtotal and a post-tax total from your restaurant bill and then select a tip percentage. It applies the percentage to the food-and-drink subtotal and adds the result to the post-tax total, rounded to the nearest quarter.

The calculations are handled in a TipCalcModel class, and the entire user interface is realized in XAML in the TipCalcPage.xaml file. Two data-binding value converters help massage the data between the data model and the XAML file.

TipCalc application screenshot