<msk:MaskedTextBox x:Name="txt_Fax" Mask="+1-000-000-0000" PromptChar=" " Text="{Binding Path=Fax}" MouseDown="txt_Fax_MouseDown" /> // (Codebehind) private void txt_Fax_MouseDown(object sender, MouseButtonEventArgs e) { txt_Fax.SelectionStart = txt_Fax.MaskedTextProvider.LastAssignedPosition + 1; txt_Fax.SelectionLength = 0; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)