Hi,
In my project I set max char allowed for TextBox using following
TextBox.MaxLength = 20;
I want add one more property as MaxCharactersAllowed. This will work same as MaxLength
TextBox.MaxCharactersAllowed = 20;
I found that TextBox properties written in "System.Windows.Controls.TextBox.cs"
Any idea how to add property?
- Thanks
Add MaxCharactersAllowed property to TextBox same as MaxLength
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Gaurav Sharma63 reputationPosted Jun 25, 2012, 1:10 AM EDT
zohaib khan28 reputationPosted Jun 25, 2012, 3:51 AM EDT