Checks if a point is inside of the control

Namespace: Skewworks.NETMF.Controls
Assembly: Skewworks.NETMF.Core (in Skewworks.NETMF.Core.dll) Version: 2.5.0.0 (2.5.0.0)

Syntax

C#
public virtual bool HitTest(
	point point
)

Parameters

point
Type: Skewworks.NETMF..::..point
Point to check if is inside control's ScreenBounds

Return Value

Type: Boolean
Returns true if the point is inside the bounds of the control; else false

Implements

IControl..::..HitTest(point)

Remarks

HitTest checks a point based on the control's ScreenBounds (Left, Top, Width, Height). The results of this method are used to determine if a control is being affected by touch events or should be rendered during partial screen updates.

See Also