This repository contains a sample that explain how to set the border color and width of a card in the .NET MAUI SfCards control.
This project used the following Syncfusion control(s):
.NET Multi-platform App UI (.NET MAUI) apps can be written for the following platforms:
- Android 5.0 (API 21) or higher.
- iOS 11 or higher, using the latest release of Xcode.
- macOS 10.15 or higher, using Mac Catalyst.
- Windows 11 and Windows 10 version 1809 or higher, using Windows UI Library (WinUI) 3.
- Visual Studio 2022 Preview version 17.6.0 or higher (.NET MAUI version 6.0.552) with .NET 7.0 and .NET 8.0
- Microsoft Visual Studio 2022 version 17.5.1 with (.NET MAUI version 6.0.552) with .NET 7.0 and .NET 8.0
- Visual Studio 2022 for Mac version 17.5 (.NET MAUI version 6.0.552) with .NET 7.0 and .NET 8.0
Refer to the following link for more details: System Requirements
-
Clone the sample and open it in Visual Studio 2022 preview.
Note: If you download the sample using the "Download ZIP" option, right-click it, select Properties, and then select Unblock.
-
Register your license key in the App.cs file as demonstrated in the following code.
public App() { //Register Syncfusion license Syncfusion.Licensing.SyncfusionLicenseProvider.RegisterLicense("YOUR LICENSE KEY"); InitializeComponent(); MainPage = new MainPage(); }
Refer to this link for more details.
-
Clean and build the application.
-
Run the application.
Syncfusion has no liability for any damage or consequence that may arise from using or viewing the samples. The samples are for demonstrative purposes. If you choose to use or access the samples, you agree to not hold Syncfusion liable, in any form, for any damage related to use, for accessing, or viewing the samples. By accessing, viewing, or seeing the samples, you acknowledge and agree Syncfusion’s samples will not allow you seek injunctive relief in any form for any claim related to the sample. If you do not agree to this, do not view, access, utilize, or otherwise do anything with Syncfusion’s samples.