4 references to MaxLength
PresentationFramework (4)
src\Framework\System\windows\Documents\TextEditor.cs (2)
1213
if (filterMaxLength && this.
MaxLength
> 0)
1218
int extraCharsAllowed = Math.Max(0, this.
MaxLength
- currentLength);
src\Framework\System\Windows\Documents\TextStore.cs (2)
3688
if (!this.TextEditor.AcceptsRichContent && this.TextEditor.
MaxLength
> 0)
3693
int extraCharsAllowed = Math.Max(0, this.TextEditor.
MaxLength
- currentLength);