4 Answers, 1 is accepted
I'm having the same issue for changing the rules but there is no "setOptions" (also not in documentation). What I've done/tested:
I can see the new set rules in console but it doesn't take effect on the MaskedTextBox itself. The initial rules (set while creating the the MaskedTextBox) are still active.
Is there a way to change the rules of a maskedTextBox at runtime?
It still can be done with the setOptions method.
It is not documented as it can change only some of the options and it is not fully supported.
I made an example demonstrating this: