Upgrade your Internet Experience
United States - English
Argentina (Español)
Australia (English)
Brasil (Português)
Canada (English)
Canada (Français)
中国 (简体中文)
Colombia (Español)
Deutschland (Deutsch)
España (Español)
France (Français)
India (English)
Italia (Italiano)
日本 (日本語)
México (Español)
Perú (Español)
Россия (Pусский)
United Kingdom (English)
United States (English)
More...
Microsoft.com
Welcome
Sign in
Microsoft Developer Network
Home
Library
Learn
Samples
Downloads
Support
Community
Forums
Classic
  |  
Lightweight
  |  
ScriptFree
Printer Friendly Version
Send
Add Content...
Click to Rate and Give Feedback
Give feedback on this content
MSDN Library
MSDN
Please Wait
MSDN Library
Please Wait
.NET Development
Please Wait
.NET Framework 4
Please Wait
.NET Framework Class Library
Please Wait
System.Windows Namespaces
Please Wait
System.Windows.Forms.Design
Please Wait
ParentControlDesigner Class
Please Wait
ParentControlDesigner Methods
Please Wait
Collapse All
Expand All
Language Filter
Visual Basic
C#
C++
J#
JScript
XAML
F#
Members Filter
Include Protected Members
Include Inherited Members
Frameworks Filter
Include .NET Framework Members
Include XNA Framework Members
This page is specific to
Microsoft Visual Studio 2010/.NET Framework 4
Other versions are also available for the following:
Microsoft Visual Studio 2003/.NET Framework 1.1
Microsoft Visual Studio 2005/.NET Framework 2.0
.NET Framework 3.0
Microsoft Visual Studio 2008/.NET Framework 3.5
Microsoft Visual Studio 11/.NET Framework 4.5
.NET Framework Class Library
ParentControlDesigner Methods
The
ParentControlDesigner
type exposes the following members.
Methods
Name
Description
AddPaddingSnapLines
Adds padding snaplines.
BaseWndProc
Processes Windows messages.
(Inherited from
ControlDesigner
.)
CanAddComponent
Infrastructure.
Called when a component is added to the parent container.
CanBeParentedTo
Indicates if this designer's control can be parented by the control of the specified designer.
(Inherited from
ControlDesigner
.)
CanParent(Control)
Indicates whether the specified control can be a child of the control managed by this designer.
CanParent(ControlDesigner)
Indicates whether the control managed by the specified designer can be a child of the control managed by this designer.
CreateTool(ToolboxItem)
Creates a component or control from the specified tool and adds it to the current design document.
CreateTool(ToolboxItem, Point)
Creates a component or control from the specified tool and adds it to the current design document at the specified location.
CreateTool(ToolboxItem, Rectangle)
Creates a component or control from the specified tool and adds it to the current design document within the bounds of the specified rectangle.
CreateToolCore
Provides core functionality for all the
CreateTool
methods.
DefWndProc
Provides default processing for Windows messages.
(Inherited from
ControlDesigner
.)
DisplayError
Displays information about the specified exception to the user.
(Inherited from
ControlDesigner
.)
Dispose
()
()
()
Releases all resources used by the
ComponentDesigner
.
(Inherited from
ComponentDesigner
.)
Dispose(Boolean)
Releases the unmanaged resources used by the
ParentControlDesigner
, and optionally releases the managed resources.
(Overrides
ControlDesigner
.
.
::
.
Dispose(Boolean)
.)
DoDefaultAction
Creates a method signature in the source code file for the default event on the component and navigates the user's cursor to that location.
(Inherited from
ComponentDesigner
.)
EnableDesignMode
Enables design time functionality for a child control.
(Inherited from
ControlDesigner
.)
EnableDragDrop
Enables or disables drag-and-drop support for the control being designed.
(Inherited from
ControlDesigner
.)
Equals(Object)
Determines whether the specified
Object
is equal to the current
Object
.
(Inherited from
Object
.)
Finalize
Attempts to free resources by calling
Dispose(false)
before the object is reclaimed by garbage collection.
(Inherited from
ComponentDesigner
.)
GetControl
Gets the control from the designer of the specified component.
GetControlGlyph
Gets a body glyph that represents the bounds of the control.
(Overrides
ControlDesigner
.
.
::
.
GetControlGlyph(GlyphSelectionType)
.)
GetGlyphs
Gets a collection of
Glyph
objects representing the selection borders and grab handles for a standard control.
(Overrides
ControlDesigner
.
.
::
.
GetGlyphs(GlyphSelectionType)
.)
GetHashCode
Serves as a hash function for a particular type.
(Inherited from
Object
.)
GetHitTest
Indicates whether a mouse click at the specified point should be handled by the control.
(Inherited from
ControlDesigner
.)
GetParentForComponent
Used by deriving classes to determine if it returns the control being designed or some other
Container
while adding a component to it.
GetService
Attempts to retrieve the specified type of service from the design mode site of the designer's component.
(Inherited from
ComponentDesigner
.)
GetType
Gets the
Type
of the current instance.
(Inherited from
Object
.)
GetUpdatedRect
Updates the position of the specified rectangle, adjusting it for grid alignment if grid alignment mode is enabled.
HookChildControls
Routes messages from the child controls of the specified control to the designer.
(Inherited from
ControlDesigner
.)
Initialize
Initializes the designer with the specified component.
(Overrides
ControlDesigner
.
.
::
.
Initialize(IComponent)
.)
InitializeExistingComponent
Re-initializes an existing component.
(Inherited from
ControlDesigner
.)
InitializeNewComponent
Initializes a newly created component. (Overrides
ControlDesigner
.
.
::
.
InitializeNewComponent(IDictionary)
.)
InitializeNonDefault
Obsolete.
Initializes the settings for an imported component that is already initialized to settings other than the defaults.
(Inherited from
ComponentDesigner
.)
InternalControlDesigner
Returns the internal control designer with the specified index in the
ControlDesigner
.
(Inherited from
ControlDesigner
.)
InvokeCreateTool
Creates a tool from the specified
ToolboxItem
.
InvokeGetInheritanceAttribute
Gets the
InheritanceAttribute
of the specified
ComponentDesigner
.
(Inherited from
ComponentDesigner
.)
MemberwiseClone
Creates a shallow copy of the current
Object
.
(Inherited from
Object
.)
NumberOfInternalControlDesigners
Returns the number of internal control designers in the
ControlDesigner
.
(Inherited from
ControlDesigner
.)
OnContextMenu
Shows the context menu and provides an opportunity to perform additional processing when the context menu is about to be displayed.
(Inherited from
ControlDesigner
.)
OnCreateHandle
Provides an opportunity to perform additional processing immediately after the control handle has been created.
(Inherited from
ControlDesigner
.)
OnDragComplete
Called in order to clean up a drag-and-drop operation.
(Overrides
ControlDesigner
.
.
::
.
OnDragComplete(DragEventArgs)
.)
OnDragDrop
Called when a drag-and-drop object is dropped onto the control designer view.
(Overrides
ControlDesigner
.
.
::
.
OnDragDrop(DragEventArgs)
.)
OnDragEnter
Called when a drag-and-drop operation enters the control designer view.
(Overrides
ControlDesigner
.
.
::
.
OnDragEnter(DragEventArgs)
.)
OnDragLeave
Called when a drag-and-drop operation leaves the control designer view.
(Overrides
ControlDesigner
.
.
::
.
OnDragLeave(EventArgs)
.)
OnDragOver
Called when a drag-and-drop object is dragged over the control designer view.
(Overrides
ControlDesigner
.
.
::
.
OnDragOver(DragEventArgs)
.)
OnGiveFeedback
Receives a call when a drag-and-drop operation is in progress to provide visual cues based on the location of the mouse while a drag operation is in progress.
(Inherited from
ControlDesigner
.)
OnMouseDragBegin
Called in response to the left mouse button being pressed and held while over the component.
(Overrides
ControlDesigner
.
.
::
.
OnMouseDragBegin(Int32, Int32)
.)
OnMouseDragEnd
Called at the end of a drag-and-drop operation to complete or cancel the operation.
(Overrides
ControlDesigner
.
.
::
.
OnMouseDragEnd(Boolean)
.)
OnMouseDragMove
Called for each movement of the mouse during a drag-and-drop operation.
(Overrides
ControlDesigner
.
.
::
.
OnMouseDragMove(Int32, Int32)
.)
OnMouseEnter
Receives a call when the mouse first enters the control.
(Inherited from
ControlDesigner
.)
OnMouseHover
Receives a call after the mouse hovers over the control.
(Inherited from
ControlDesigner
.)
OnMouseLeave
Receives a call when the mouse first enters the control.
(Inherited from
ControlDesigner
.)
OnPaintAdornments
Called when the control that the designer is managing has painted its surface so the designer can paint any additional adornments on top of the control.
(Overrides
ControlDesigner
.
.
::
.
OnPaintAdornments(PaintEventArgs)
.)
OnSetComponentDefaults
Obsolete.
Called when the designer is intialized.
(Inherited from
ControlDesigner
.)
OnSetCursor
Provides an opportunity to change the current mouse cursor.
(Overrides
ControlDesigner
.
.
::
.
OnSetCursor
()
()
()
.)
PostFilterAttributes
Allows a designer to change or remove items from the set of attributes that it exposes through a
TypeDescriptor
.
(Inherited from
ComponentDesigner
.)
PostFilterEvents
Allows a designer to change or remove items from the set of events that it exposes through a
TypeDescriptor
.
(Inherited from
ComponentDesigner
.)
PostFilterProperties
Allows a designer to change or remove items from the set of properties that it exposes through a
TypeDescriptor
.
(Inherited from
ComponentDesigner
.)
PreFilterAttributes
Allows a designer to add to the set of attributes that it exposes through a
TypeDescriptor
.
(Inherited from
ComponentDesigner
.)
PreFilterEvents
Allows a designer to add to the set of events that it exposes through a
TypeDescriptor
.
(Inherited from
ComponentDesigner
.)
PreFilterProperties
Adjusts the set of properties the component will expose through a
TypeDescriptor
.
(Overrides
ControlDesigner
.
.
::
.
PreFilterProperties(IDictionary)
.)
RaiseComponentChanged
Notifies the
IComponentChangeService
that this component has been changed.
(Inherited from
ComponentDesigner
.)
RaiseComponentChanging
Notifies the
IComponentChangeService
that this component is about to be changed.
(Inherited from
ComponentDesigner
.)
ToString
Returns a string that represents the current object.
(Inherited from
Object
.)
UnhookChildControls
Routes messages for the children of the specified control to each control rather than to a parent designer.
(Inherited from
ControlDesigner
.)
WndProc
Processes Windows messages and optionally routes them to the control.
(Inherited from
ControlDesigner
.)
Top
Explicit Interface Implementations
Name
Description
IDesignerFilter
.
.
::
.
PostFilterAttributes
For a description of this member, see the
IDesignerFilter
.
.
::
.
PostFilterAttributes
method.
(Inherited from
ComponentDesigner
.)
IDesignerFilter
.
.
::
.
PostFilterEvents
For a description of this member, see the
IDesignerFilter
.
.
::
.
PostFilterEvents
method.
(Inherited from
ComponentDesigner
.)
IDesignerFilter
.
.
::
.
PostFilterProperties
For a description of this member, see the
IDesignerFilter
.
.
::
.
PostFilterProperties
method.
(Inherited from
ComponentDesigner
.)
IDesignerFilter
.
.
::
.
PreFilterAttributes
For a description of this member, see the
IDesignerFilter
.
.
::
.
PreFilterAttributes
method.
(Inherited from
ComponentDesigner
.)
IDesignerFilter
.
.
::
.
PreFilterEvents
For a description of this member, see the
IDesignerFilter
.
.
::
.
PreFilterEvents
method.
(Inherited from
ComponentDesigner
.)
IDesignerFilter
.
.
::
.
PreFilterProperties
For a description of this member, see the
IDesignerFilter
.
.
::
.
PreFilterProperties
method.
(Inherited from
ComponentDesigner
.)
Top
See Also
Reference
ParentControlDesigner Class
System.Windows.Forms.Design Namespace
Tags
:
Add a tag
Add
Cancel
Flag as
ContentBug
Community Content
Add new content
Annotations
|
Edit
Tags
:
Add a tag
Add
Cancel
Flag as
ContentBug
© 2012 Microsoft. All rights reserved.
Terms of Use
|
Trademarks
|
Privacy Statement