C

HoveredItemChangedEventArgs

Event argument class containing information about which IModelItem the mouse is currently hovering over.

Remarks

This event is used by the hovered-item-changed event. The item property yields the item that is currently being hovered over or null if the mouse just left an item without hovering over another one. The oldItem property provides the previously hovered item or null if the mouse wasn't previously hovering over a valid item.

Members

Show:

Constructors

Initializes a new instance of the HoveredItemChangedEventArgs class.

Parameters

context: IInputModeContext
The context.
item: IModelItem
The model item, possibly null.
oldItem: IModelItem
The old item, possibly null.

Properties

Gets the context for the current event.
readonlyfinal

Property Value

The context.
Gets the item that is currently hovered or null if no item is hovered.
readonlyfinal
Gets or sets the item that was previously hovered, possibly null.
readonlyfinal

See Also

API
item