Skip to content

tsjdev-apps/simple-creditcardview-maui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Credit Card view for .NET MAUI

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.

Usage

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. -

Screenshots

Android

Android

Windows

Windows

Buy me a coffee ☕

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 ❤️.

Buy Me A Coffee

About

Simple CreditCardView for .NET MAUI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages