The WinFormsInteractor type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| WinFormsInteractor()()()() |
Creates a new WinForms interactor.
| |
| WinFormsInteractor(Object) |
Creates a new WinForms interactor for the given object.
|
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.
| |
| 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.
(Inherited from Interactor.) | |
| OnDeselected |
Invoked when the interactor got removed from the current selection.
| |
| OnDetached |
Invoked when the interactor gets detached from its parent.
(Overrides Interactor..::..OnDetached(EventArgs).) | |
| OnDragBegin |
Invoked when the user starts to drag this interactor.
| |
| OnDragDrop |
Invoked when another object is dropped on this interactor.
| |
| OnDragEnd |
Invoked after the user has dragged this interactor.
| |
| OnDragEnter |
Invoked when another object gets dragged into this interactor.
| |
| OnDragLeave |
Invoked when another object gets dragged outside the interactor, or when dragging
gets cancelled.
| |
| OnDragOver |
Invoked when another object is dragged over this interactor.
| |
| OnDragSelectMouseDown |
Invoked when the mouse went down to drag a selection.
| |
| 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.
| |
| OnDragSelectMouseUp |
Invoked when the mouse goes up after dragging a selection.
| |
| OnGotFocus |
Invoked after 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 after 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 interactor as well.
| |
| OnMouseDoubleClick |
Invoked when a double-click occurs in the interactor.
| |
| OnMouseDown |
Invoked when a mouse button goes down in the interactor.
| |
| OnMouseEnter |
Invoked when the mouse enters the interactor.
| |
| OnMouseHover |
Invoked afer the mouse stays a short period of time in this interactor.
| |
| OnMouseLeave |
Invoked when the mouse leaves the interactor.
| |
| OnMouseMove |
Invoked when the mouse moves over this interactor.
| |
| OnMouseUp |
Invoked when the mouse button goes up in the interactor.
| |
| OnPaint |
Invoked when the interactor must paint itself.
| |
| OnPaintDrag |
Invoked when the interactor must paint a drag representation of itself.
| |
| OnPaintOver |
This method will be invoked after all child interactors have been
painted.
| |
| OnPaintShadow |
Invoked to paint a shadow for this interactor.
| |
| OnSelected |
Invoked when the interactor got added to the current selection.
| |
| SendText |
Sends the given text to the interator.
|
Properties
| Name | Description | |
|---|---|---|
| Childs |
The child interactors of this interactor. This property may be null.
(Inherited from Interactor.) | |
| DragBehavior |
Controls the dragging behavior of the interactor.
| |
| Height |
The height of the interactor. Subclasses should override this method
so that it correctlty reflects the height of the interactor.
(Overrides Interactor..::..Height.) | |
| HoverCursor |
The cursor that will be used when the mouse hovers over the interactor. By default,
the parent cursor is used.
| |
| 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.
| |
| 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.
| |
| 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. Subclasses should override this method
so that it correctlty reflects the width of interactor.
(Overrides Interactor..::..Width.) |
Events
| Name | Description | |
|---|---|---|
| PreviewDragBegin |
DragBegin preview event.
| |
| PreviewDragDrop |
DragDrop preview event.
| |
| PreviewDragEnd |
DragEnd preview event.
| |
| PreviewDragEnter |
DragEnter preview event.
| |
| PreviewDragLeave |
DragLeave preview event.
| |
| PreviewDragOver |
DragOver preview event.
| |
| PreviewDragSelectMouseDown |
DragSelectMouseDown preview event.
| |
| PreviewDragSelectMouseMove |
DragSelectMouseMove preview event.
| |
| PreviewDragSelectMouseUp |
DragSelectMouseUp preview event. | |
| PreviewMouseDown |
MouseDown preview event.
| |
| PreviewMouseMove |
MouseMove preview event.
| |
| PreviewMouseUp |
MouseUp preview event.
|