Click or drag to resize
CanvasTextLayoutHitTest Method (Single, Single)
Gets whether the point overlaps with any text in the text layout.

Namespace:  Microsoft.Graphics.Canvas.Text
Assembly:  Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version:

Any whitespace before the end of the text, also counts as text.

Hit tests are always performed using layout bounds, not draw bounds. See LayoutBounds.

See Also