Piccolo.NET

PCanvas Methods

The methods of the PCanvas class are listed below. For a complete list of PCanvas class members, see the PCanvas Members topic.

Public Instance Methods

AddInputEventListener Add an input listener to the camera associated with this canvas.
BeginInvoke (inherited from Control)Overloaded. Executes the specified delegate asynchronously with the specified arguments, on the thread that the control's underlying handle was created on.
BringToFront (inherited from Control)Brings the control to the front of the z-order.
Contains (inherited from Control)Retrieves a value indicating whether the specified control is a child of the control.
CreateControl (inherited from Control) Forces the creation of the control, including the creation of the handle and any child controls.
CreateGraphics (inherited from Control)Creates the Graphics object for the control.
CreateObjRef (inherited from MarshalByRefObject)Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
Dispose (inherited from Component)Overloaded. Releases all resources used by the Component.
DoDragDrop (inherited from Control) Begins a drag-and-drop operation.
EndInvoke (inherited from Control) Retrieves the return value of the asynchronous operation represented by the IAsyncResult object passed.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
FindForm (inherited from Control) Retrieves the form that the control is on.
Focus (inherited from Control) Sets input focus to the control.
GetChildAtPoint (inherited from Control)Retrieves the child control that is located at the specified coordinates.
GetContainerControl (inherited from Control)Returns the next ContainerControl up the control's chain of parent controls.
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.
GetLifetimeService (inherited from MarshalByRefObject)Retrieves the current lifetime service object that controls the lifetime policy for this instance.
GetNextControl (inherited from Control)Retrieves the next control forward or back in the tab order of child controls.
GetType (inherited from Object)Gets the Type of the current instance.
Hide (inherited from Control) Conceals the control from the user.
InitializeLifetimeService (inherited from MarshalByRefObject) Obtains a lifetime service object to control the lifetime policy for this instance.
Invalidate (inherited from Control)Overloaded. Invalidates the specified region of the control (adds it to the control's update region, which is the area that will be repainted at the next paint operation), and causes a paint message to be sent to the control.
InvalidateBounds Invalidates the specified region of the canvas (adds it to the canvas's update region, which is the area that will be repainted at the next paint operation), and causes a paint message to be sent to the canvas.
Invoke (inherited from Control)Overloaded. Executes the specified delegate, on the thread that owns the control's underlying window handle, with the specified list of arguments.
PaintImmediately Causes the canvas to immediately paint it's invalidated regions.
PerformLayout (inherited from Control)Overloaded. Forces the control to apply layout logic to all its child controls.
PointToClient (inherited from Control)Computes the location of the specified screen point into client coordinates.
PointToScreen (inherited from Control)Computes the location of the specified client point into screen coordinates.
PopCursor Pop the cursor on top of the cursorStack and set it as the canvas cursor.
PreProcessMessage (inherited from Control)Preprocesses input messages within the message loop before they are dispatched.
PushCursor Set the canvas cursor, and remember the previous cursor on the cursor stack.
RectangleToClient (inherited from Control)Computes the size and location of the specified screen rectangle in client coordinates.
RectangleToScreen (inherited from Control)Computes the size and location of the specified client rectangle in screen coordinates.
Refresh (inherited from Control)Forces the control to invalidate its client area and immediately redraw itself and any child controls.
RemoveInputEventListener Remove an input listener to the camera associated with this canvas.
ResetBackColor (inherited from Control)Resets the BackColor property to its default value.
ResetBindings (inherited from Control)Resets the DataBindings property to its default value.
ResetCursor (inherited from Control)Resets the Cursor property to its default value.
ResetFont (inherited from Control)Resets the Fontproperty to its default value.
ResetForeColor (inherited from Control)Resets the ForeColor property to its default value.
ResetImeMode (inherited from Control)Resets the ImeMode property to its default value.
ResetRightToLeft (inherited from Control)Resets the RightToLeft property to its default value.
ResetText (inherited from Control)Resets the Text property to its default value.
ResumeLayout (inherited from Control)Overloaded. Resumes normal layout logic.
Scale (inherited from Control)Overloaded. Scales the control and any child controls to the specified ratio.
Select (inherited from Control)Overloaded. Activates the control.
SelectNextControl (inherited from Control) Activates the next control.
SendToBack (inherited from Control)Sends the control to the back of the z-order.
SetBounds (inherited from Control)Overloaded. Sets the bounds of the control to the specified location and size.
Show (inherited from Control) Displays the control to the user.
SuspendLayout (inherited from Control)Temporarily suspends the layout logic for the control.
ToString (inherited from Component) 
Update (inherited from Control) Causes the control to redraw the invalidated regions within its client area.

Protected Instance Methods

AccessibilityNotifyClients (inherited from Control)Notifies the accessibility client applications of the specified AccessibleEvents for the specified child control.
CreateAccessibilityInstance (inherited from Control) Creates a new accessibility object for the control.
CreateControlsInstance (inherited from Control) Creates a new instance of the control collection for the control.
CreateHandle (inherited from Control) Creates a handle for the control.
DefWndProc (inherited from Control)Sends the specified message to the default window procedure.
DestroyHandle (inherited from Control) Destroys the handle associated with the control.
DisposeOverloaded. Clean up any resources being used.
Finalize (inherited from Component)Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection.
GetService (inherited from Component) Returns an object that represents a service provided by the Component or by its Container.
GetStyle (inherited from Control) Retrieves the value of the specified control style bit for the control.
GetTopLevel (inherited from Control)Determines if the control is a top-level control.
InitLayout (inherited from Control)Called after the control has been added to another container.
InvokeGotFocus (inherited from Control)Raises the GotFocus event for the specified control.
InvokeLostFocus (inherited from Control)Raises the LostFocus event for the specified control.
InvokeOnClick (inherited from Control)Raises the Click event for the specified control.
InvokePaint (inherited from Control)Raises the Paint event for the specified control.
InvokePaintBackground (inherited from Control)Raises the PaintBackground event for the specified control.
IsInputChar (inherited from Control)Determines if a character is an input character that the control recognizes.
IsInputKey Overridden. Determines whether the specified key is a regular input key or a special key that requires preprocessing.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.
NotifyInvalidate (inherited from Control) 
OnBackColorChanged (inherited from Control)Raises the BackColorChanged event.
OnBackgroundImageChanged (inherited from Control)Raises the BackgroundImageChanged event.
OnBindingContextChanged (inherited from Control)Raises the BindingContextChangedevent.
OnCausesValidationChanged (inherited from Control)Raises the CausesValidationChangedevent.
OnChangeUICues (inherited from Control)Raises the ChangeUICues event.
OnClick Overridden. Forwards the Click event to the default input manager.
OnContextMenuChanged (inherited from Control)Raises the ContextMenuChangedevent.
OnControlAdded (inherited from Control)Raises the ControlAdded event.
OnControlRemoved (inherited from Control)Raises the ControlRemoved event.
OnCreateControl (inherited from Control)Raises the CreateControl event.
OnCursorChanged (inherited from Control)Raises the CursorChangedevent.
OnDockChanged (inherited from Control)Raises the DockChangedevent.
OnDoubleClick Overridden. Forwards the DoubleClick event to the default input manager.
OnDragDrop Overridden. Forwards the DragDrop event to the default input manager.
OnDragEnter Overridden. Forwards the DragEnter event to the default input manager.
OnDragLeave Overridden. Forwards the DragLeave event to the default input manager.
OnDragOver Overridden. Forwards the DragOver event to the default input manager.
OnEnabledChanged (inherited from Control)Raises the EnabledChanged event.
OnEnter (inherited from Control)Raises the Enter event.
OnFontChanged (inherited from Control)Raises the FontChangedevent.
OnForeColorChanged (inherited from Control)Raises the ForeColorChangedevent.
OnGiveFeedback (inherited from Control)Raises the GiveFeedback event.
OnGotFocus (inherited from Control)Raises the GotFocus event.
OnHandleCreated (inherited from Control)Raises the HandleCreated event.
OnHandleDestroyed (inherited from Control)Raises the HandleDestroyed event.
OnHelpRequested (inherited from Control)Raises the HelpRequested event.
OnImeModeChanged (inherited from Control)Raises the ImeModeChanged event.
OnInteractingChanged Raises the InteractingChanged event by invoking the delegates.
OnInvalidated (inherited from Control)Raises the Invalidated event.
OnKeyDown Overridden. Forwards the KeyDown event to the default input manager.
OnKeyPress Overridden. Forwards the KeyPress event to the default input manager.
OnKeyUp Overridden. Forwards the KeyUp event to the default input manager.
OnLayout (inherited from Control)Raises the Layout event.
OnLeave (inherited from Control)Raises the Leave event.
OnLocationChanged (inherited from Control)Raises the LocationChanged event.
OnLostFocus (inherited from Control)Raises the LostFocus event.
OnMouseDown Overridden. Forwards the MouseDown event to the default input manager.
OnMouseEnter Overridden. Forwards the MouseEnter event to the default input manager.
OnMouseHover (inherited from Control)Raises the MouseHover event.
OnMouseLeave Overridden. Forwards the MouseLeave event to the default input manager.
OnMouseMove Overridden. Forwards the MouseMove event to the default input manager.
OnMouseUp Overridden. Forwards the MouseUp event to the default input manager.
OnMouseWheel Overridden. Forwards the MouseWheel event to the default input manager.
OnMove (inherited from Control)Raises the Move event.
OnNotifyMessage (inherited from Control)Notifies the control of Windows messages.
OnPaint Overridden. See Control.OnPaint.
OnPaintBackground (inherited from Control)Paints the background of the control.
OnParentBackColorChanged (inherited from Control)Raises the BackColorChanged event when the BackColor property value of the control's container changes.
OnParentBackgroundImageChanged (inherited from Control)Raises the BackgroundImageChanged event when the BackgroundImage property value of the control's container changes.
OnParentBindingContextChanged (inherited from Control)Raises the BindingContextChanged event when the BindingContext property value of the control's container changes.
OnParentChanged (inherited from Control)Raises the ParentChanged event.
OnParentEnabledChanged (inherited from Control)Raises the EnabledChanged event when the Enabled property value of the control's container changes.
OnParentFontChanged (inherited from Control)Raises the FontChanged event when the Font property value of the control's container changes.
OnParentForeColorChanged (inherited from Control)Raises the ForeColorChanged event when the ForeColor property value of the control's container changes.
OnParentRightToLeftChanged (inherited from Control)Raises the RightToLeftChanged event when the RightToLeft property value of the control's container changes.
OnParentVisibleChanged (inherited from Control)Raises the VisibleChanged event when the Visible property value of the control's container changes.
OnQueryContinueDrag (inherited from Control)Raises the QueryContinueDrag event.
OnResize (inherited from Control)Raises the Resize event.
OnRightToLeftChanged (inherited from Control)Raises the RightToLeftChangedevent.
OnSizeChanged Overridden. See Control.OnSizeChanged.
OnStyleChanged (inherited from Control)Raises the StyleChanged event.
OnSystemColorsChanged (inherited from Control)Raises the SystemColorsChanged event.
OnTabIndexChanged (inherited from Control)Raises the TabIndexChanged event.
OnTabStopChanged (inherited from Control)Raises the TabStopChanged event.
OnTextChanged (inherited from Control)Raises the TextChanged event.
OnValidated (inherited from Control)Raises the Validated event.
OnValidating (inherited from Control)Raises the Validating event.
OnVisibleChanged (inherited from Control)Raises the VisibleChanged event.
ProcessCmdKey (inherited from Control)Processes a command key.
ProcessDialogChar (inherited from Control)Processes a dialog character.
ProcessDialogKey (inherited from Control)Processes a dialog key.
ProcessKeyEventArgs (inherited from Control)Processes a key message and generates the appropriate control events.
ProcessKeyPreview (inherited from Control)Previews a keyboard message.
ProcessMnemonic (inherited from Control)Processes a mnemonic character.
RaiseDragEvent (inherited from Control) 
RaiseKeyEvent (inherited from Control) 
RaiseMouseEvent (inherited from Control) 
RaisePaintEvent (inherited from Control) 
RecreateHandle (inherited from Control)Forces the re-creation of the handle for the control.
ResetMouseEventArgs (inherited from Control) 
RtlTranslateAlignment (inherited from Control)Overloaded. Converts the specified HorizontalAlignment to the appropriate HorizontalAlignment to support right-to-left text.
RtlTranslateContent (inherited from Control)Converts the specified ContentAlignment to the appropriate ContentAlignment to support right-to-left text.
RtlTranslateHorizontal (inherited from Control)Converts the specified HorizontalAlignment to the appropriate HorizontalAlignment to support right-to-left text.
RtlTranslateLeftRight (inherited from Control)Converts the specified LeftRightAlignment to the appropriate LeftRightAlignment to support right-to-left text.
ScaleCore (inherited from Control)Performs the work of scaling the entire control and any child controls.
Select (inherited from Control)Overloaded. Activates a child control. Optionally specifies the direction in the tab order to select the control from.
SetBoundsCore (inherited from Control) Performs the work of setting the specified bounds of this control.
SetClientSizeCore (inherited from Control) Sets the size of the client area of the control.
SetStyle (inherited from Control)Sets the specified style bit to the specified value.
SetTopLevel (inherited from Control)Sets the control as the top-level control.
SetVisibleCore (inherited from Control)Sets the control to the specified visible state.
SimulateMouseMoveOrDrag Simulates a mouse move or drag event.
UpdateBounds (inherited from Control)Overloaded. Updates the bounds of the control with the current size and location.
UpdateStyles (inherited from Control) Forces the assigned styles to be reapplied to the control.
UpdateZOrder (inherited from Control) Updates the control in its parent's z-order.
WndProc (inherited from Control)Processes Windows messages.

Protected Internal Instance Methods

ProcessKeyMessage (inherited from Control)Processes a keyboard message.

See Also

PCanvas Class | UMD.HCIL.Piccolo Namespace