4 writes to maskedTextProvider
System.Windows.Forms (4)
winforms\Managed\System\WinForms\MaskedTextBox.cs (4)
168
this.
maskedTextProvider
= maskedTextProvider;
2487
this.
maskedTextProvider
= clonedProvider;
2776
this.
maskedTextProvider
= newProvider;
2849
this.
maskedTextProvider
= newProvider;
104 references to maskedTextProvider
System.Windows.Forms (104)
winforms\Managed\System\WinForms\MaskedTextBox.cs (104)
177
this.passwordChar = this.
maskedTextProvider
.PasswordChar;
187
this.flagState[CUTCOPYINCLUDEPROMPT ] = this.
maskedTextProvider
.IncludePrompt;
188
this.flagState[CUTCOPYINCLUDELITERALS ] = this.
maskedTextProvider
.IncludeLiterals;
228
return this.
maskedTextProvider
.AllowPromptAsInput;
232
if( value != this.
maskedTextProvider
.AllowPromptAsInput )
236
this.
maskedTextProvider
.Mask,
237
this.
maskedTextProvider
.Culture,
239
this.
maskedTextProvider
.PromptChar,
240
this.
maskedTextProvider
.PasswordChar,
241
this.
maskedTextProvider
.AsciiOnly );
276
return this.
maskedTextProvider
.AsciiOnly;
281
if( value != this.
maskedTextProvider
.AsciiOnly )
285
this.
maskedTextProvider
.Mask,
286
this.
maskedTextProvider
.Culture,
287
this.
maskedTextProvider
.AllowPromptAsInput,
288
this.
maskedTextProvider
.PromptChar,
289
this.
maskedTextProvider
.PasswordChar,
381
return this.
maskedTextProvider
.Culture;
391
if( !this.
maskedTextProvider
.Culture.Equals(value) )
395
this.
maskedTextProvider
.Mask,
397
this.
maskedTextProvider
.AllowPromptAsInput,
398
this.
maskedTextProvider
.PromptChar,
399
this.
maskedTextProvider
.PasswordChar,
400
this.
maskedTextProvider
.AsciiOnly );
525
return this.
maskedTextProvider
.IncludeLiterals;
529
this.
maskedTextProvider
.IncludeLiterals = value;
541
return this.
maskedTextProvider
.IncludePrompt;
545
this.
maskedTextProvider
.IncludePrompt = value;
703
return this.flagState[IS_NULL_MASK]? string.Empty : this.
maskedTextProvider
.Mask;
712
if( this.flagState[IS_NULL_MASK] == string.IsNullOrEmpty( value ) && (this.flagState[IS_NULL_MASK] || value == this.
maskedTextProvider
.Mask) )
728
string unformattedText = this.
maskedTextProvider
.ToString(false, false);
732
if( this.
maskedTextProvider
.IsPassword )
734
SetEditControlPasswordChar(this.
maskedTextProvider
.PasswordChar);
776
this.
maskedTextProvider
.Culture,
777
this.
maskedTextProvider
.AllowPromptAsInput,
778
this.
maskedTextProvider
.PromptChar,
779
this.
maskedTextProvider
.PasswordChar,
780
this.
maskedTextProvider
.AsciiOnly );
818
return this.
maskedTextProvider
.MaskCompleted;
832
return this.
maskedTextProvider
.MaskFull;
849
return this.flagState[IS_NULL_MASK] ? null : (MaskedTextProvider) this.
maskedTextProvider
.Clone();
933
return this.
maskedTextProvider
.PasswordChar;
945
if( value == this.
maskedTextProvider
.PromptChar )
956
this.
maskedTextProvider
.PasswordChar = value;
980
if( this.
maskedTextProvider
!= null ) // could be queried during object construction.
982
return this.
maskedTextProvider
.IsPassword;
1002
return this.
maskedTextProvider
.PromptChar;
1012
if( this.
maskedTextProvider
.PromptChar != value )
1015
if( value == this.passwordChar || value == this.
maskedTextProvider
.PasswordChar )
1023
this.
maskedTextProvider
.Mask,
1024
this.
maskedTextProvider
.Culture,
1025
this.
maskedTextProvider
.AllowPromptAsInput,
1027
this.
maskedTextProvider
.PasswordChar,
1028
this.
maskedTextProvider
.AsciiOnly );
1106
return this.
maskedTextProvider
.ResetOnPrompt;
1110
this.
maskedTextProvider
.ResetOnPrompt = value;
1127
return this.
maskedTextProvider
.ResetOnSpace;
1131
this.
maskedTextProvider
.ResetOnSpace = value;
1148
return this.
maskedTextProvider
.SkipLiterals;
1152
this.
maskedTextProvider
.SkipLiterals = value;
1330
Delete(Keys.Delete, 0, this.
maskedTextProvider
.Length);
1338
if (this.
maskedTextProvider
.Set(value, out this.caretTestPos, out hint))
1354
Replace(value, /*startPosition*/ 0, /*selectionLen*/ this.
maskedTextProvider
.Length);
1390
return this.
maskedTextProvider
.ToString();
1598
this.
maskedTextProvider
.PasswordChar = this.SystemPasswordChar;
1603
this.
maskedTextProvider
.PasswordChar = this.passwordChar;
1610
SetEditControlPasswordChar(this.
maskedTextProvider
.PasswordChar);
1706
Debug.Assert( startPosition >= 0 && ((startPosition + selectionLen) <= this.
maskedTextProvider
.Length), "Invalid position range." );
1726
if( (startPosition + selectionLen) == this.
maskedTextProvider
.Length ) // At end of string, delete does nothing.
1738
if (this.
maskedTextProvider
.RemoveAt(startPosition, endPos, out tempPos, out hint))
1766
this.caretTestPos = this.
maskedTextProvider
.FindEditPositionFrom(startPosition, forward);
1770
if( this.
maskedTextProvider
.FindAssignedEditPositionFrom( startPosition, forward ) == MaskedTextProvider.InvalidIndex )
1774
this.caretTestPos = this.
maskedTextProvider
.FindAssignedEditPositionFrom(startPosition, backward);
1780
this.caretTestPos = this.
maskedTextProvider
.FindEditPositionFrom(startPosition, backward);
1812
base.SelectInternal( this.caretTestPos, 0, this.
maskedTextProvider
.Length );
1867
int pos = this.
maskedTextProvider
.FindEditPositionFrom( this.
maskedTextProvider
.LastAssignedPosition + 1, forward );
1871
pos = this.
maskedTextProvider
.LastAssignedPosition + 1;
1922
return this.
maskedTextProvider
.ToString(/*ignorePwdChar */ false, includePrompt, /*includeLiterals*/ true, 0, this.
maskedTextProvider
.Length);
1996
return this.
maskedTextProvider
.ToString( /*ignorePasswordChar*/ true, includePrompt, includeLiterals, selStart, selLength );
2020
if( this.flagState[IS_NULL_MASK]&& this.
maskedTextProvider
.IsPassword )
2022
SetEditControlPasswordChar(this.
maskedTextProvider
.PasswordChar);
2124
selectionLen = this.
maskedTextProvider
.Length - startPosition;
2128
selectionLen = startPosition == this.
maskedTextProvider
.Length /*at end of text*/ ? startPosition : startPosition + 1;
2229
int editPos = this.
maskedTextProvider
.FindUnassignedEditPositionFrom(this.caretTestPos, forward);
2390
MaskedTextProvider clonedProvider = (MaskedTextProvider) this.
maskedTextProvider
.Clone();
2423
if( !this.
maskedTextProvider
.VerifyEscapeChar( ch, startPosition )) // char won't be escaped, find and edit position for it.
2496
base.SelectInternal( this.caretTestPos, 0, this.
maskedTextProvider
.Length );
2545
if (!this.flagState[IS_NULL_MASK]&& this.
maskedTextProvider
.MaskCompleted == false)
2555
textValue = this.
maskedTextProvider
.ToString(/*includePrompt*/ false, this.IncludeLiterals);
2616
return PlaceChar(this.
maskedTextProvider
, ch, startPosition, length, overwrite, out hint );
2629
if (startPosition < this.
maskedTextProvider
.Length)
2766
newProvider.IncludePrompt = this.
maskedTextProvider
.IncludePrompt;
2767
newProvider.IncludeLiterals = this.
maskedTextProvider
.IncludeLiterals;
2768
newProvider.SkipLiterals = this.
maskedTextProvider
.SkipLiterals;
2769
newProvider.ResetOnPrompt = this.
maskedTextProvider
.ResetOnPrompt;
2770
newProvider.ResetOnSpace = this.
maskedTextProvider
.ResetOnSpace;
2783
MaskedTextProvider oldProvider = this.
maskedTextProvider
;
2992
if (this.
maskedTextProvider
.IsPassword) // cannot copy password to clipboard.
3094
int startEditPos = this.
maskedTextProvider
.FindEditPositionFrom( startPosition, forward );
3104
int endEditPos = this.
maskedTextProvider
.FindEditPositionFrom(startPosition + selectionLen - 1, backward);
3299
base.SelectInternal( this.caretTestPos, this.lastSelLength, this.
maskedTextProvider
.Length );
3318
base.SelectInternal( this.caretTestPos, this.lastSelLength, this.
maskedTextProvider
.Length );