HostContext object
The HostContext object holds information about item, column, task, links, ... from the current cursor position. The HostContext property gets the host's context at the current cursor position. The HostContext property supports the following properties and methods: 

NameDescription
BarReturns the key of the bar from the current cursor location.
ColumnReturns the index of the column from the current cursor location.
DateSpecifies the date-time from the current cursor location.
EmptySpaceReturns the number of rows, between current cursor position and the the last fully-visible item of the control.
HitTestDetermines the host' objects that can be accessed at current cursor location
ItemReturns the handle of the item from the current cursor location.
LinkReturns the key of the link from the current cursor location.
ToStringGets a string representation of the object.