Ler em inglês

Compartilhar via


Shape Methods

Include Protected Members
Include Inherited Members

The Shape type exposes the following members.

Methods

  Name Description
Public method BringToFront Brings a line or shape control to the front of the z-order.
Protected method CreateAccessibilityInstance Creates a new accessibility object for a line or shape control.
Public method CreateObjRef Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.)
Public method Dispose() Releases all resources used by the Component. (Inherited from Component.)
Protected method Dispose(Boolean) Releases the unmanaged resources used by a line or shape control and optionally releases the managed resources. (Overrides Component.Dispose(Boolean).)
Public method DrawToBitmap Supports rendering to the specified bitmap.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection. (Inherited from Component.)
Public method FindForm Retrieves the form that a line or shape control is on.
Public method Focus Sets input focus to a line or shape control.
Public method GetContainerControl Returns the next ContainerControl up in a line or shape control's chain of parent controls.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetLifetimeService Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Protected method GetService Returns an object that represents a service provided by the Component or by its Container. (Inherited from Component.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method Hide Conceals a line or shape control from the user.
Public method HitTest Gets information about a line or shape control at the specified position on the screen.
Public method InitializeLifetimeService Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public method Invalidate Invalidates a specific region of a line or shape control and causes a paint message to be sent to the control.
Public methodStatic member IsKeyLocked Determines whether the CAPS LOCK, NUM LOCK, or SCROLL LOCK key is in effect.
Protected method MemberwiseClone() Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method MemberwiseClone(Boolean) Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject.)
Protected method OnClick Raises the Click event.
Protected method OnContextMenuChanged Raises the ContextMenuChanged event.
Protected method OnContextMenuStripChanged Raises the ContextMenuStripChanged event.
Protected method OnCursorChanged Raises the CursorChanged event.
Protected method OnDoubleClick Raises the DoubleClick event.
Protected method OnEnabledChanged Raises the EnabledChanged event.
Protected method OnEnter Raises the Enter event.
Protected method OnGotFocus Raises the GotFocus event.
Protected method OnInvalidated Raises the Invalidated event.
Protected method OnKeyDown Raises the KeyDown event.
Protected method OnKeyPress Raises the KeyPress event.
Protected method OnKeyUp Raises the KeyUp event.
Protected method OnLeave Raises the Leave event.
Protected method OnLostFocus Raises the LostFocus event.
Protected method OnMouseClick Raises the MouseClick event.
Protected method OnMouseDoubleClick Raises the MouseDoubleClick event.
Protected method OnMouseDown Raises the MouseDown event.
Protected method OnMouseEnter Raises the MouseEnter event.
Protected method OnMouseHover Raises the MouseHover event.
Protected method OnMouseLeave Raises the MouseLeave event.
Protected method OnMouseMove Raises the MouseMove event.
Protected method OnMouseUp Raises the MouseUp event.
Protected method OnMouseWheel Raises the MouseWheel event.
Protected method OnMove Raises the Move event.
Protected method OnPaint Raises the Paint event.
Protected method OnParentChanged Raises the ParentChanged event.
Protected method OnPreviewKeyDown Raises the PreviewKeyDown event.
Protected method OnQueryAccessibilityHelp Raises the QueryAccessibilityHelp event.
Protected method OnRegionChanged Raises the RegionChanged event.
Protected method OnVisibleChanged Raises the VisibleChanged event.
Public method PointToClient Computes the location of the specified screen point into client coordinates.
Public method PointToScreen Computes the location of the specified client point into screen coordinates.
Public method RectangleToClient Computes the size and location of the specified screen rectangle in client coordinates.
Public method RectangleToScreen Computes the size and location of the specified client rectangle in screen coordinates.
Public method Refresh Forces a control to invalidate its client area and immediately redraw itself and any child controls.
Public method ResumePaint Resumes usual painting logic, optionally forcing an immediate layout of pending paint requests.
Public method Scale Scales a shape by the specified scaling factor.
Public method Select Enables a control.
Public method SendToBack Sends a line or shape control to the back of the z-order.
Public method Show Displays a shape to the user.
Public method SuspendPaint Suspends the painting logic for a shape.
Public method ToString Returns a String containing the name of the Component, if any. This method should not be overridden. (Inherited from Component.)
Public method Update Causes the control to redraw the invalidated regions within its client area.

Top

See Also

Reference

Shape Class

Microsoft.VisualBasic.PowerPacks Namespace