The ResizeLayer type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| ResizeLayer |
Constructs a layer that adds resize boxes.
|
Methods
| Name | Description | |
|---|---|---|
| IsOver |
Returns true if the given coordinate is part of the interactor.
(Inherited from InteractorLayer.) | |
| OnAttached |
Invoked when the ResizeLayer becomes attached to an Interactor. The Interactor must
implement the IRelocate interface for the resize layer to have any effect.
(Overrides InteractorLayer..::..OnAttached(EventArgs).) | |
| OnDetached |
Invoked when the ResizeLayer becomes detached.
(Overrides InteractorLayer..::..OnDetached(EventArgs).) | |
| OnDragBegin |
Invoked when the user starts dragging this interactor
(Inherited from WinFormsInteractorLayer.) | |
| OnDragDrop |
Invoked when an object gets dropped on the extension.
(Inherited from WinFormsInteractorLayer.) | |
| OnDragEnd |
Invoked when the user stops dragging this interactor
(Inherited from WinFormsInteractorLayer.) | |
| OnDragEnter |
Invoked when an object get dragged into the interactor. This
will only happen when IsOver returns true for a given coordinate.
(Inherited from WinFormsInteractorLayer.) | |
| OnDragLeave |
Invoked when an object gets dragged outside interactor or when dragging gets
cancelled.
(Inherited from WinFormsInteractorLayer.) | |
| OnDragOver |
Invoked when an object gets dragged over the extension.
(Inherited from WinFormsInteractorLayer.) | |
| OnDragSelectMouseDown |
Invoked when the mouse went down to drag a selection.
(Inherited from WinFormsInteractorLayer.) | |
| OnDragSelectMouseUp |
Invoked when the mouse goes up after dragging a selection.
(Inherited from WinFormsInteractorLayer.) | |
| OnDragSelectMove |
Invoked while dragging a selection when the selection rectangle
overlaps this interactor.
(Inherited from WinFormsInteractorLayer.) | |
| OnGotFocus |
This override will add resize boxes to the interactor.
(Overrides WinFormsInteractorLayer..::..OnGotFocus(EventArgs).) | |
| OnKeyDown |
Raised when a key is pressed while this interactor has the focus.
(Inherited from WinFormsInteractorLayer.) | |
| OnKeyUp |
Raised when a key is released while this interactor has the focus.
(Inherited from WinFormsInteractorLayer.) | |
| OnLostFocus |
This override will remove the resize boxes from the interactor.
(Overrides WinFormsInteractorLayer..::..OnLostFocus(EventArgs).) | |
| 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.
(Inherited from WinFormsInteractorLayer.) | |
| OnMouseDoubleClick |
Invoked when the mouse is double-clicked in the interactor.
(Inherited from WinFormsInteractorLayer.) | |
| OnMouseDown |
Invoked when a mouse button goes down in the interactor.
(Inherited from WinFormsInteractorLayer.) | |
| 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.
(Inherited from WinFormsInteractorLayer.) | |
| OnMouseLeave |
Invoked when the mouse leaves the interactor. This will only happen when
IsOver returns false for a given coordinate.
(Inherited from WinFormsInteractorLayer.) | |
| OnMouseMove |
Invoked when the mouse moves over the extension.
(Inherited from WinFormsInteractorLayer.) | |
| OnMouseUp |
Invoked when the mouse button goes up in the interactor.
(Inherited from WinFormsInteractorLayer.) | |
| OnPaint |
Paints the extenstion.
(Inherited from WinFormsInteractorLayer.) | |
| OnPaintDrag |
Raises the PaintDrag event for the extended interactor.
(Inherited from WinFormsInteractorLayer.) | |
| OnPaintOver |
Paints a drag rectangle over the interactor.
(Overrides WinFormsInteractorLayer..::..OnPaintOver(PaintEventArgs).) | |
| OnPaintShadow |
Invoked before painting the interactor, with a coordinate system that is offset by the
ShadowOffset.
(Inherited from WinFormsInteractorLayer.) |
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.
(Inherited from WinFormsInteractorLayer.) | |
| Interactor |
The base interactor that this extension extends.
(Inherited from WinFormsInteractorLayer.) | |
| 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.) |
Events
| Name | Description | |
|---|---|---|
| PreviewResizeBegin |
Raised when a user starts dragging a resize box.
| |
| PreviewResizeEnd |
Raised when a user stops dragging a resize box.
|