MaskedTextBox make constant mask symbols not selectable

Editors for WPF Forum

Posted 5 years ago by Ruslan Fedoseienko
Version: 14.2.0610
Avatar

For eample we have a phone mask i.e (___) __-___ provided by regexp.

Is it possible to make (,),- symbols not selectable?

Is there any events for implementing custom behaviour during selection? I didnt find anything in docs.

[Modified 5 years ago]

Comments (1)

Posted 5 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Ruslan,

While the caret will generally jump around literal strings in the mask like the ')' and '-' characters as you type and use left/right arrow keys, there isn't anything to prevent selection.


Actipro Software Support

The latest build of this product (v2019.1 build 0682) was released 28 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.