Unfortunately, the proposed in my previous response approach is not an appropriate one for pure MVVM scanarios as you should be working with UIElements inside the ViewModel.
However, I could suggest you another approach how to achieve the desired and at the same time to preserve the MVVM pattern. So, basically what you need to do is to modify the default RadAutoCompleteTextBoxStyle.
By setting the desired MaxLength
inside it and after that applying that modified Style to the TextBoxStyle
the desired could be achieved.
Please, check the attached sample project that demonstrates that and let us know if it worked for you - please, notice Implicit Styles
Hopes this helps.
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Telerik Feedback Portal
and vote to affect the priority of the items