@@ -49,7 +49,7 @@ private static void Textbox_Loaded(object sender, RoutedEventArgs e)
49
49
return ;
50
50
}
51
51
52
- var placeHolderValue = textbox . GetValue ( MaskPlaceholderCharacterProperty ) as string ;
52
+ var placeHolderValue = textbox . GetValue ( MaskPlaceholderProperty ) as string ;
53
53
if ( string . IsNullOrEmpty ( placeHolderValue ) )
54
54
{
55
55
throw new ArgumentException ( "PlaceHolder can't be null or empty" ) ;
@@ -152,7 +152,7 @@ private static void Textbox_GotFocus_Mask(object sender, RoutedEventArgs e)
152
152
{
153
153
var textbox = ( TextBox ) sender ;
154
154
var mask = textbox ? . GetValue ( MaskProperty ) as string ;
155
- var placeHolderValue = textbox ? . GetValue ( MaskPlaceholderCharacterProperty ) as string ;
155
+ var placeHolderValue = textbox ? . GetValue ( MaskPlaceholderProperty ) as string ;
156
156
var representationDictionary = textbox ? . GetValue ( RepresentationDictionaryProperty ) as Dictionary < char , string > ;
157
157
if ( string . IsNullOrWhiteSpace ( mask ) ||
158
158
representationDictionary == null ||
@@ -194,7 +194,7 @@ private static async void Textbox_Paste(object sender, TextControlPasteEventArgs
194
194
var textbox = ( TextBox ) sender ;
195
195
var mask = textbox . GetValue ( MaskProperty ) as string ;
196
196
var representationDictionary = textbox ? . GetValue ( RepresentationDictionaryProperty ) as Dictionary < char , string > ;
197
- var placeHolderValue = textbox . GetValue ( MaskPlaceholderCharacterProperty ) as string ;
197
+ var placeHolderValue = textbox . GetValue ( MaskPlaceholderProperty ) as string ;
198
198
if ( string . IsNullOrWhiteSpace ( mask ) ||
199
199
representationDictionary == null ||
200
200
string . IsNullOrEmpty ( placeHolderValue ) )
@@ -262,7 +262,7 @@ private static void Textbox_TextChanging(TextBox textbox, TextBoxTextChangingEve
262
262
var escapedChars = textbox . GetValue ( EscapedCharacterIndicesProperty ) as List < int > ;
263
263
264
264
var representationDictionary = textbox . GetValue ( RepresentationDictionaryProperty ) as Dictionary < char , string > ;
265
- var placeHolderValue = textbox ? . GetValue ( MaskPlaceholderCharacterProperty ) as string ;
265
+ var placeHolderValue = textbox ? . GetValue ( MaskPlaceholderProperty ) as string ;
266
266
var oldText = textbox . GetValue ( OldTextProperty ) as string ;
267
267
var oldSelectionStart = ( int ) textbox . GetValue ( OldSelectionStartProperty ) ;
268
268
var oldSelectionLength = ( int ) textbox . GetValue ( OldSelectionLengthProperty ) ;
0 commit comments