MaskedTextBox.ScrollToCaret Method

Definition

Scrolls the contents of the control to the current caret position. This method is not supported by MaskedTextBox.

public:
 void ScrollToCaret();
public void ScrollToCaret ();
override this.ScrollToCaret : unit -> unit
Public Sub ScrollToCaret ()

Remarks

The ScrollToCaret method is inherited from the base TextBoxBase class. However, because the MaskedTextBox control does not support multiline configuration, this method is overridden to perform no actions.

Applies to

See also