0
<TextBox Name="Cnic" Grid.Row="5" Grid.Column="1" Margin="3" Grid.ColumnSpan="2"/>

I want to restrict the user to enter the data in the text box in the following pattern for example 34101-1234567-8.

I want to restrict the user to put only numbers in this format with two dashes included in the given place.

Mark At Ramp51
  • 5,343
  • 1
  • 25
  • 30
Zohaib Akbar
  • 13
  • 10

0 Answers0