Private Sub Button1_Click(ByVal sender As Object, ByVal e As RoutedEventArgs)
Me.maskedEditor1.Mask = "###-##-####"
Me.maskedEditor1.Value = "111-22-"
Me.maskedEditor1.ClipMode = MaskMode.IncludeBoth
Me.maskedEditor1.StartEditMode()
Me.maskedEditor1.SelectAllBehavior = MaskSelectAllBehavior.SelectAllCharacters
Me.maskedEditor1.SelectAll()
Debug.WriteLine("SelectedText with SelectAllCharacters = '" & Me.maskedEditor1.SelectedText & "'")
Me.maskedEditor1.SelectAllBehavior = MaskSelectAllBehavior.SelectEnteredCharacters
Me.maskedEditor1.SelectAll()
Debug.WriteLine("SelectedText with SelectEnteredCharacters = '" & Me.maskedEditor1.SelectedText & "'")
End Sub