microsoft / xaml-standard

XAML Standard : a set of principles that drive XAML dialect alignment
Other
805 stars 50 forks source link

Add MaskedTextBox #148

Open Iproteo opened 7 years ago

Iproteo commented 7 years ago
<MaskedTextBox x:Name="maskedTextBox"
                             Mask="(000) 000-0000" />
mrlacey commented 7 years ago

Is there a reason that this has to be a separate control from TextBox and that the mask pattern (and presumably the mask character--although you haven't mentioned that) couldn't just be optional properties on a regular TextBox? For this to be included would all platforms also have to have the same mask rules? I expect they would. And if so, if this a reasonable imposition?

rashadrivera commented 7 years ago

Interest of standardization, i agree that this should be an extra property on the TextBox control. I don't see a need for another control.