You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/controls/TextBoxMask.md
+12-12Lines changed: 12 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,27 +19,27 @@ TextBoxMask has 2 type of characters
19
19
2) Fixed: which the user can't change and it is any non variable character ex the - in the first example
20
20
21
21
Variable characters a represented to end user in form of placeholder so the user can know which characters he can change and which he can't, ex mask aaa-9999 will be presented to user as ___-____
22
-
the default placeholder is _ but you can change it using controls:TextBoxMasks.PlaceHolder property (Check the second textbox in syntax section)
22
+
the default placeholder is _ but you can change it using controls:TextBoxMask.PlaceHolder property (Check the second textbox in syntax section)
23
23
24
-
In case you want to add a custom variable character you can use property TextBoxMasks.CustomMask (Check the third textbox in syntax section), you can add a character that represents certain regex as c:[a-c] and once you use character c in the mask the mask will prevent any characters but from a to c inside the TextBox, also you specify multiple variable characters by adding comma "," after every character and it's representation. this feature is helpful if you want to allow certain language characters ex French or Arabic only TextBox.
24
+
In case you want to add a custom variable character you can use property TextBoxMask.CustomMask (Check the third textbox in syntax section), you can add a character that represents certain regex as c:[a-c] and once you use character c in the mask the mask will prevent any characters but from a to c inside the TextBox, also you specify multiple variable characters by adding comma "," after every character and it's representation. this feature is helpful if you want to allow certain language characters ex French or Arabic only TextBox.
25
25
26
26
## Syntax
27
27
28
28
```xml
29
29
30
-
<TextBox controls:TextBoxMasks.Mask="9a9a-a9a*"
30
+
<TextBox controls:TextBoxMask.Mask="9a9a-a9a*"
31
31
Header="Text box with Mask 9a9a-a9a* (9 allows from 0 to 9, a allow from a to Z and * allows both a and 9)"
32
32
/>
33
33
34
34
<TextBox
35
-
controls:TextBoxMasks.Mask="+1999-9999"
36
-
controls:TextBoxMasks.PlaceHolder=""
35
+
controls:TextBoxMask.Mask="+1999-9999"
36
+
controls:TextBoxMask.PlaceHolder=""
37
37
Header="Text box with Mask +1999-9999 and placeHolder as space (placeholder represents the characters the user can change on runtime)"
0 commit comments