I prepared a short article on medium.com as contribution to #MAUIUIJULY, which is basically a series of blog posts where every day of July 2023 a .NET MAUI community member posts something about .NET MAUI and UI. You can find the list with all available blog posts on this website.
The repository contains a sample project, which shows how to use the CreditCardView
control. The control is available for Android, iOS, macOS, and Windows. The control is available in the CreditCardApp.Views
namespace.
xmlns:views="clr-namespace:CreditCardApp.Views"
You can use the control like this:
<views:CreditCardView CardNumber="371449635398431"
ExpirationDate="2024-12-01"
CardValidationCode="123"/>
The control has the following properties:
Property | Description | Default |
---|---|---|
CardNumber |
The credit card number. | null |
ExpirationDate |
The expiration date of the credit card. | DateTime.Now |
CardValidationCode |
The card validation code. | - |
I appreciate any form of support to keep my Open Source activities going.
Whatever you decide, be it sharing my blog posts, using my packages or buying me a coffee/book, thank you ❤️.