MaskedTextBox.GetCharFromPosition(Point) Method

Definition

Retrieves the character that is closest to the specified ___location within the control.

public:
 override char GetCharFromPosition(System::Drawing::Point pt);
public override char GetCharFromPosition(System.Drawing.Point pt);
override this.GetCharFromPosition : System.Drawing.Point -> char
Public Overrides Function GetCharFromPosition (pt As Point) As Char

Parameters

pt
Point

The ___location from which to seek the nearest character.

Returns

The character at the specified ___location.

Applies to

See also