Skip to content

Commit

Permalink
Merge pull request #1 from SyncfusionExamples/UpdateReadME
Browse files Browse the repository at this point in the history
844388-Update README.md file
  • Loading branch information
naveenkumar-sanjeevirayan authored Aug 29, 2023
2 parents 90db638 + e8e9a54 commit 7bf60a5
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,50 @@
# maui-maskedentry-samples
Contains samples for .NET MAUI Masked Entry

# Getting Started with the .NET MAUI MaskedEntry Control

The .NET MAUI MaskedEntry is an advanced version of the input control that restricts input of certain characters, text, and numbers by using a mask pattern. This control creates a template for providing information such as telephone numbers, email IDs, IP addresses, product keys, and more.

Documentation: https://help.syncfusion.com/maui/masked-entry/getting-started

### Adding the .NET MAUI MaskedEntry control

Step 1: Add the NuGet to the project and add the namespace as shown in the following code sample:

**[XAML]**
```
xmlns:syncfusion="clr-namespace:Syncfusion.Maui.Inputs;assembly=Syncfusion.Maui.Inputs"
```

**[C#]**
```
using Syncfusion.Maui.Inputs;
```

Step 2: Set the MaskedEntry control to content in `ContentPage.`

**[XAML]**
```
<syncfusion:SfMaskedEntry x:Name="maskedentry" />
```

**[C#]**
```
maskedEntry = new SfMaskedEntry();
```

## Project pre-requisites

Make sure that you have the compatible versions of Visual Studio with .NET MAUI workloads and .NET SDK version in your machine before starting to work on this project. Refer to [System Requirements for .NET MAUI](https://help.syncfusion.com/maui/system-requirements).

## How to run this application?

To run this application, you need to first clone the maui-maskedentry-samples repository and then open it in Visual Studio 2022. Now, simply build and run your project to view the output.

## <a name="troubleshooting"></a>Troubleshooting ##
### Path too long exception
If you are facing path too long exception when building this example project, close Visual Studio and rename the repository to short and build the project.

## License

Syncfusion has no liability for any damage or consequence that may arise by using or viewing the samples. The samples are for demonstrative purposes, and if you choose to use or access the samples, you agree to not hold Syncfusion liable, in any form, for any damage that is 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.

0 comments on commit 7bf60a5

Please sign in to comment.