Search code examples
c#uwptextboxmask

TextBox Mask in UWP


How to create a Mask in TextBox Control in UWP?

I search and find this: https://www.nuget.org/packages/HoveyTech.MaskedTextBox.UWP/

example of Mask: https://learn.microsoft.com/en-us/windows/communitytoolkit/extensions/textboxmask

How I use this nuget?


Solution

  • Not sure what effect you want to achieve using a "Mask TextBox", maybe you are looking for the UWP Password box control, see the guideline about the Password box to learn how to use it.

    <PasswordBox x:Name="passwordBox" Width="200" MaxLength="16" Height="30" 
     IsPasswordRevealButtonEnabled="False"/>