The WinFormsControlInteractor<(Of <(<'ControlType>)>)> type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| WinFormsControlInteractor<(Of <(<'ControlType>)>)> |
Creates an interactor for a WinForms control.
|
Methods
| Name | Description | |
|---|---|---|
| CreateOrientationTransform |
Create a transformation that applies the given orientation to the interactor.
(Inherited from Interactor.) | |
| EnsureVisible |
Makes sure that the viewer scrolls this interactor into view.
(Inherited from WinFormsInteractor.) | |
| Invalidate |
Invoke this method to mark the apearance of this interactor invalid, so that it gets repainted.
(Inherited from Interactor.) | |
| IsOver |
Specifies whether a certain coordinate is considered to be part
of the interactor. This can be used for irregularly shaped
interactors, or interactors with "holes". By default, this
method returns true, which means that all coordinates within
the interactor Rectangle are included.
(Inherited from Interactor.) | |
| OnAttached |
Invoked when the interactor gets attached to its parent.
(Overrides Interactor..::..OnAttached(EventArgs).) | |
| OnDeselected |
Invoked when the interactor got removed from the current selection.
(Inherited from WinFormsInteractor.) | |
| OnDetached |
Invoked when this interactor becomes detached from its viewer.
(Overrides WinFormsInteractor..::..OnDetached(EventArgs).) | |
| OnDragBegin |
Invoked when the user starts to drag this interactor.
(Inherited from WinFormsInteractor.) | |
| OnDragDrop |
Invoked when another object is dropped on this interactor.
(Inherited from WinFormsInteractor.) | |
| OnDragEnd |
Invoked after the user has dragged this interactor.
(Inherited from WinFormsInteractor.) | |
| OnDragEnter |
Invoked when another object gets dragged into this interactor.
(Inherited from WinFormsInteractor.) | |
| OnDragLeave |
Invoked when another object gets dragged outside the interactor, or when dragging
gets cancelled.
(Inherited from WinFormsInteractor.) | |
| OnDragOver |
Invoked when another object is dragged over this interactor.
(Inherited from WinFormsInteractor.) | |
| OnDragSelectMouseDown |
Invoked when the mouse went down to drag a selection.
(Inherited from WinFormsInteractor.) | |
| OnDragSelectMouseMove |
Invoked while dragging a selection when the selection rectangle
overlaps this interactor. This method will add the
corresponding interactor to the current selection if Selectable is true.
(Inherited from WinFormsInteractor.) | |
| OnDragSelectMouseUp |
Invoked when the mouse goes up after dragging a selection.
(Inherited from WinFormsInteractor.) | |
| OnGotFocus |
Invoked after the interactor has received focus.
(Overrides WinFormsInteractor..::..OnGotFocus(EventArgs).) | |
| OnKeyDown |
Raised when a key is pressed while this interactor has the focus.
(Inherited from WinFormsInteractor.) | |
| OnKeyUp |
Raised when a key is released while this interactor has the focus.
(Inherited from WinFormsInteractor.) | |
| OnLostFocus |
Invoked after the interactor lost the focus.
(Inherited from WinFormsInteractor.) | |
| 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 interactor as well.
(Inherited from WinFormsInteractor.) | |
| OnMouseDoubleClick |
Invoked when a double-click occurs in the interactor.
(Inherited from WinFormsInteractor.) | |
| OnMouseDown |
Invoked when a mouse button goes down in the interactor.
(Inherited from WinFormsInteractor.) | |
| OnMouseEnter |
Invoked when the mouse enters the interactor.
(Inherited from WinFormsInteractor.) | |
| OnMouseHover |
Invoked afer the mouse stays a short period of time in this interactor.
(Inherited from WinFormsInteractor.) | |
| OnMouseLeave |
Invoked when the mouse leaves the interactor.
(Inherited from WinFormsInteractor.) | |
| OnMouseMove |
Invoked when the mouse moves over this interactor.
(Inherited from WinFormsInteractor.) | |
| OnMouseUp |
Invoked when the mouse button goes up in the interactor.
(Inherited from WinFormsInteractor.) | |
| OnPaint |
Paints the control.
(Overrides WinFormsInteractor..::..OnPaint(PaintEventArgs).) | |
| OnPaintDrag |
Invoked when the interactor must paint a drag representation of itself.
(Inherited from WinFormsInteractor.) | |
| OnPaintOver |
This method will be invoked after all child interactors have been
painted.
(Inherited from WinFormsInteractor.) | |
| OnPaintShadow |
Invoked to paint a shadow for this interactor.
(Inherited from WinFormsInteractor.) | |
| OnSelected |
Invoked when the interactor got added to the current selection.
(Inherited from WinFormsInteractor.) | |
| SendText |
Sends the given text to the interator.
(Inherited from WinFormsInteractor.) |
Properties
| Name | Description | |
|---|---|---|
| Childs |
The child interactors of this interactor. This property may be null.
(Inherited from Interactor.) | |
| Control |
The contained control.
| |
| DragBehavior |
Controls the dragging behavior of the interactor.
(Inherited from WinFormsInteractor.) | |
| Height |
The height of the interactor in its own coordinate system. This is derived from the
size of the control on screen.
(Overrides WinFormsInteractor..::..Height.) | |
| HoverCursor |
This property controls the cursor that is shown when the mouse hovers over the control.
(Overrides WinFormsInteractor..::..HoverCursor.) | |
| IsInteractive |
Controls whether an interactor can be interacted with.
(Inherited from Interactor.) | |
| Layers |
The layers of this interactor.
(Inherited from Interactor.) | |
| LayoutManager |
The layout property controls the placement of sub-interactors relative to this
one. This property may be null.
(Inherited from Interactor.) | |
| Object |
The controlled object.
(Inherited from Interactor.) | |
| Opacity |
A value between 0 and 1 that specifies the opacity of the interactor. 1 means
fully opaque, 0 means fully transparent (i.e. invisible). The default is 1.
(Inherited from Interactor.) | |
| Parent |
The interactor that this interactor is a child of.
(Inherited from Interactor.) | |
| Rectangle |
The rectangle that this interactor occupies, including the space taken by
its layers.
(Inherited from Interactor.) | |
| ShadowDistance |
The distance at which the shadow of the interactor will be drawn. This distance is
relative to the parent, so that transformations on this interactor (such as rotations)
do not influence the location of the shadow.
(Inherited from WinFormsInteractor.) | |
| ToolTip |
The tooltip for this interactor. Override this to return the proper information for
this interactor. If null, no tooltip will be shown.
(Inherited from Interactor.) | |
| Transform |
Transformation that is applied to the interactor before drawing, relative
to the origin of its parent, i.e.:
(Inherited from Interactor.)
| |
| Viewer |
The viewer that this interactor is located in.
(Inherited from WinFormsInteractor.) | |
| ViewerTransform |
Transforms coordinates in the local coordinate system to the coordinate system of the
viewer, i.e.:
(Inherited from Interactor.)
| |
| VisibleRectangle |
A rectangle that defines a the visible part of the interactor, in terms of its own
coordinate system.
(Inherited from Interactor.) | |
| Width |
The width of the interactor in its own coordinate system. This is derived from the
size of the control on screen.
(Overrides WinFormsInteractor..::..Width.) |
Events
| Name | Description | |
|---|---|---|
| PreviewDragBegin |
DragBegin preview event.
(Inherited from WinFormsInteractor.) | |
| PreviewDragDrop |
DragDrop preview event.
(Inherited from WinFormsInteractor.) | |
| PreviewDragEnd |
DragEnd preview event.
(Inherited from WinFormsInteractor.) | |
| PreviewDragEnter |
DragEnter preview event.
(Inherited from WinFormsInteractor.) | |
| PreviewDragLeave |
DragLeave preview event.
(Inherited from WinFormsInteractor.) | |
| PreviewDragOver |
DragOver preview event.
(Inherited from WinFormsInteractor.) | |
| PreviewDragSelectMouseDown |
DragSelectMouseDown preview event.
(Inherited from WinFormsInteractor.) | |
| PreviewDragSelectMouseMove |
DragSelectMouseMove preview event.
(Inherited from WinFormsInteractor.) | |
| PreviewDragSelectMouseUp |
DragSelectMouseUp preview event. (Inherited from WinFormsInteractor.) | |
| PreviewMouseDown |
MouseDown preview event.
(Inherited from WinFormsInteractor.) | |
| PreviewMouseMove |
MouseMove preview event.
(Inherited from WinFormsInteractor.) | |
| PreviewMouseUp |
MouseUp preview event.
(Inherited from WinFormsInteractor.) |