in the click event:
maskedTextBoxname.SelectionStart = 0;
(with this, when you click on maskedtextbox, the cursor will appear on the left)
maskedTextBoxname.SelectionStart = maskedTextBoxname.Text.Length;
(at the same time, when you click on maskedtextbox, the cursor will appear on the last char recorded, if maskedtextbox is empty, the cursor will appear on the left)
source share