System.Windows.Forms.Design.ParentControlDesigner Members

The members of System.Windows.Forms.Design.ParentControlDesigner are listed below.

See Also: Inherited members from System.Windows.Forms.Design.ControlDesigner

Public Constructors

Public Properties

[read-only]
override
SnapLinesIList.

Gets a list of System.Windows.Forms.Design.Behavior.SnapLine objects representing significant alignment points for this control.

Protected Properties

[read-only]
AllowControlLassobool.

Gets a value indicating whether selected controls will be re-parented.

[read-only]
AllowGenericDragBoxbool.

Gets a value indicating whether a generic drag box should be drawn when dragging a toolbox item over the designer's surface.

[read-only]
AllowSetChildIndexOnDropbool.

Gets a value indicating whether the z-order of dragged controls should be maintained when dropped on a System.Windows.Forms.Design.ParentControlDesigner.

[read-only]
DefaultControlLocationSystem.Drawing.Point.

Gets the default location for a control added to the designer.

DrawGridbool.

Gets or sets a value indicating whether a grid should be drawn on the control for this designer.

[read-only]
override
EnableDragRectbool.

Gets a value indicating whether drag rectangles are drawn by the designer.

GridSizeSystem.Drawing.Size.

Gets or sets the size of each square of the grid that is drawn when the designer is in grid draw mode.

[read-only]
MouseDragToolSystem.Drawing.Design.ToolboxItem.

Gets a value indicating whether the designer has a valid tool during a drag operation.

Public Methods

CanParent(System.Windows.Forms.Control) : bool

Indicates whether the specified control can be a child of the control managed by this designer.

CanParent(ControlDesigner) : bool

Indicates whether the control managed by the specified designer can be a child of the control managed by this designer.

override
GetGlyphs(System.Windows.Forms.Design.Behavior.GlyphSelectionType) : System.Windows.Forms.Design.Behavior.GlyphCollection

Gets a collection of System.Windows.Forms.Design.Behavior.Glyph objects representing the selection borders and grab handles for a standard control.

override
Initialize(System.ComponentModel.IComponent)

Initializes the designer with the specified component.

override
InitializeNewComponent(IDictionary)
Documentation for this section has not yet been entered.

Protected Methods

AddPaddingSnapLines(ref ArrayList)
Documentation for this section has not yet been entered.
CreateTool(System.Drawing.Design.ToolboxItem)

Creates a component or control from the specified tool and adds it to the current design document.

CreateTool(System.Drawing.Design.ToolboxItem, System.Drawing.Point)

Creates a component or control from the specified tool and adds it to the current design document at the specified location.

CreateTool(System.Drawing.Design.ToolboxItem, System.Drawing.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(System.Drawing.Design.ToolboxItem, int, int, int, int, bool, bool) : System.ComponentModel.IComponent[]

Provides core functionality for all the ParentControlDesigner.CreateTool(System.Drawing.Design.ToolboxItem) methods.

override
Dispose(bool)

Releases the unmanaged resources used by the System.Windows.Forms.Design.ParentControlDesigner, and optionally releases the managed resources.

GetControl(object) : System.Windows.Forms.Control

Gets the control from the designer of the specified component.

override
GetControlGlyph(System.Windows.Forms.Design.Behavior.GlyphSelectionType) : System.Windows.Forms.Design.Behavior.ControlBodyGlyph

Gets a body glyph that represents the bounds of the control.

GetParentForComponent(System.ComponentModel.IComponent) : System.Windows.Forms.Control

Used by deriving classes to determine if it returns the control being designed or some other System.ComponentModel.Container while adding a component to it.

GetUpdatedRect(System.Drawing.Rectangle, System.Drawing.Rectangle, bool) : System.Drawing.Rectangle

Updates the position of the specified rectangle, adjusting it for grid alignment if grid alignment mode is enabled.

static
InvokeCreateTool(ParentControlDesigner, System.Drawing.Design.ToolboxItem)

Creates a tool from the specified System.Drawing.Design.ToolboxItem.

override
OnDragComplete(System.Windows.Forms.DragEventArgs)

Called in order to clean up a drag-and-drop operation.

override
OnDragDrop(System.Windows.Forms.DragEventArgs)

Called when a drag-and-drop object is dropped onto the control designer view.

override
OnDragEnter(System.Windows.Forms.DragEventArgs)

Called when a drag-and-drop operation enters the control designer view.

override
OnDragLeave(EventArgs)

Called when a drag-and-drop operation leaves the control designer view.

override
OnDragOver(System.Windows.Forms.DragEventArgs)

Called when a drag-and-drop object is dragged over the control designer view.

override
OnMouseDragBegin(int, int)

Called in response to the left mouse button being pressed and held while over the component.

override
OnMouseDragEnd(bool)

Called at the end of a drag-and-drop operation to complete or cancel the operation.

override
OnMouseDragMove(int, int)

Called for each movement of the mouse during a drag-and-drop operation.

override
OnPaintAdornments(System.Windows.Forms.PaintEventArgs)

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.

override
OnSetCursor()

Provides an opportunity to change the current mouse cursor.

override
PreFilterProperties(IDictionary)

Adjusts the set of properties the component will expose through a System.ComponentModel.TypeDescriptor.