MaskedTextBox.GetCharFromPosition Method (Point)

 

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

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public override char GetCharFromPosition(
	Point pt
)

Parameters

pt
Type: System.Drawing.Point

The location from which to seek the nearest character.

Return Value

Type: System.Char

The character at the specified location.

.NET Framework
Available since 2.0
Return to top
Show: