The WinFormsInteractorLayer type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| WinFormsInteractorLayer | Initializes a new instance of the WinFormsInteractorLayer class |
Methods
| Name | Description | |
|---|---|---|
| IsOver |
Returns true if the given coordinate is part of the interactor.
(Inherited from InteractorLayer.) | |
| OnAttached |
Invoked when the interactor - including this layer - becomes attached to its parent.
(Inherited from InteractorLayer.) | |
| OnDetached |
Invoked when the interactor - including this layer - becomes detached from its parent.
(Inherited from InteractorLayer.) | |
| OnDragBegin |
Invoked when the user starts dragging this interactor
| |
| OnDragDrop |
Invoked when an object gets dropped on the extension.
| |
| OnDragEnd |
Invoked when the user stops dragging this interactor
| |
| OnDragEnter |
Invoked when an object get dragged into the interactor. This
will only happen when IsOver returns true for a given coordinate.
| |
| OnDragLeave |
Invoked when an object gets dragged outside interactor or when dragging gets
cancelled.
| |
| OnDragOver |
Invoked when an object gets dragged over the extension.
| |
| OnDragSelectMouseDown |
Invoked when the mouse went down to drag a selection.
| |
| OnDragSelectMouseUp |
Invoked when the mouse goes up after dragging a selection.
| |
| OnDragSelectMove |
Invoked while dragging a selection when the selection rectangle
overlaps this interactor.
| |
| OnGotFocus |
Invoked when the interactor got the focus.
| |
| OnKeyDown |
Raised when a key is pressed while this interactor has the focus.
| |
| OnKeyUp |
Raised when a key is released while this interactor has the focus.
| |
| OnLostFocus |
Invoked when the interactor lost the focus.
| |
| OnMouseClick |
Invoked when the mouse is clicked in the interactor, i.e. a mouse down event has
occurred and the mouse button has been released in the widget as well.
| |
| OnMouseDoubleClick |
Invoked when the mouse is double-clicked in the interactor.
| |
| OnMouseDown |
Invoked when a mouse button goes down in the interactor.
| |
| OnMouseEnter |
Invoked when the mouse enters the interactor. This
will only happen when IsOver returns true for a given coordinate. By default,
this method will get OnMouseEnter invoked on the base interactor.
| |
| OnMouseLeave |
Invoked when the mouse leaves the interactor. This will only happen when
IsOver returns false for a given coordinate.
| |
| OnMouseMove |
Invoked when the mouse moves over the extension.
| |
| OnMouseUp |
Invoked when the mouse button goes up in the interactor.
| |
| OnPaint |
Paints the extenstion.
| |
| OnPaintDrag |
Raises the PaintDrag event for the extended interactor.
| |
| OnPaintOver |
Invoked after painting the children of the interactor. Can be used
to paint additional marks that should not be obscured by the child interactors.
| |
| OnPaintShadow |
Invoked before painting the interactor, with a coordinate system that is offset by the
ShadowOffset.
|
Properties
| Name | Description | |
|---|---|---|
| HoverCursor |
Specifies which cursor must be shown when hovering over the
extension. By default, an extension does not define its own cursor, but
instead, uses the cursor of its base interactor.
| |
| Interactor |
The base interactor that this extension extends.
| |
| IsEnabled |
Controls whether this layer is enabled. If false, the interactor behaves as if
without the layer.
(Inherited from InteractorLayer.) | |
| Rectangle |
The rectangle that the interactor occupies, including this layer.
(Inherited from InteractorLayer.) |