Version

TaskFromPoint(Point,TaskUIElement) Method

Returns the Task at the specified point, or null if the specified point lies within an area of the control that is not definitively associated with a task.
Syntax
'Declaration
 
Public Overloads Function TaskFromPoint( _
   ByVal point As Point, _
   ByRef taskElement As TaskUIElement _
) As Infragistics.Win.UltraWinSchedule.Task
public Infragistics.Win.UltraWinSchedule.Task TaskFromPoint( 
   Point point,
   out TaskUIElement taskElement
)

Parameters

point
The point to test, expressed in client coordinates.
taskElement
[out] Upon return, contains the TaskUIElement whose bounding rectangle contains the specified point, or null if the specified point does not intersect with a TaskUIElement.

Return Value

A Task instance or null.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also