Piccolo.NET

PInputEventArgs Members

PInputEventArgs overview

Public Instance Constructors

PInputEventArgs Constructor Constructs a new PInputEventArgs

Public Instance Properties

AllowedDragDropEffects Gets which drag-and-drop operations are allowed by the originator (or source) of the drag drop event.
Button Gets which mouse button was pressed.
Camera Gets the bottom-most camera that is currently painting.
Canvas Gets the canvas associated with the top camera.
CanvasDelta Gets the delta between the last and current mouse position in PCanvas coordinates.
CanvasPosition Gets the mouse position in PCanvas coordinates.
Clicks Gets the number of times the mouse button was pressed and released.
Delta Return the delta between the last and current mouse positions transformed through the view matrix of the bottom camera.
DragDropData Gets the IDataObject that contains the data associated with this event.
DragDropEffect Gets or sets the target drop effect in a drag-and-drop operation.
DragDropKeyState Gets the current state of the SHIFT, CTRL, and ALT keys, as well as the state of the mouse buttons.
Handled Gets or sets a value indicating whether an event handler has handled this event.
InputManager Gets the input manager that dispatched this event.
IsClickEvent Gets a value indicating if this is a Click event.
IsDragDropEvent Gets a value indicating if this is a DragEnter, DragLeave, DragOver, or DragDrop event.
IsFocusEvent Gets a value indicating if this is a GotFocus or LostFocus event.
IsKeyEvent Gets a value indicating if this is a KeyDown or KeyUp event.
IsKeyPressEvent Gets a value indicating if this is a KeyPress event.
IsMouseEnterOrMouseLeave Gets a value indicating if this is a MouseEnter of MouseLeave event.
IsMouseEvent Gets a value indicating if this is a MouseDown, MouseUp, MouseMove, MouseDrag, MouseEnter, MouseLeave, or MouseWheel event.
KeyChar Gets the character corresponding to the key pressed.
KeyCode Gets the Keyboard code for a KeyDown or KeyUp event.
KeyData Gets the key data for a KeyDown or KeyUp event.
KeyValue Gets the keyboard value for a KeyDown or KeyUp event.
Modifiers Gets the modifier flags. This indicates which combination of modifier keys (CTRL, SHIFT, and ALT) were pressed.
Path Gets or sets the PPickPath associated with this input event.
PickedNode Gets the bottom node on the current pickpath, that is the picked node furthest from the root node.
Position Return the mouse position transformed through the view matrix of the bottom camera.
Shift Gets a value indicating whether the SHIFT key was pressed.
TopCamera Gets the top-most camera this is painting.
Type Gets or sets the type of this input event.
WheelDelta Gets a signed count of the number of detents the mouse wheel has rotated. A detent is one notch of the mouse wheel.

Public Instance Methods

DispatchTo Raises the appropriate event on the given node.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetDeltaRelativeTo Return the delta between the last and current mouse positions relative to a given node on the pick path.
GetHashCode (inherited from Object)Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetPositionRelativeTo Return the mouse position relative to a given node on the pick path.
GetType (inherited from Object)Gets the Type of the current instance.
PopCursor Pop the cursor on top of the cursorStack and set it as the canvas cursor.
PushCursor Set the canvas cursor, and remember the previous cursor on the cursor stack.
ToString Overridden. Returns a string representation of this object for debugging purposes.

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

PInputEventArgs Class | UMD.HCIL.Piccolo.Event Namespace