System.Windows.Forms.Design.ControlDesigner Members

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

See Also: Inherited members from System.ComponentModel.Design.ComponentDesigner

Public Constructors

Initializes a new instance of the System.Windows.Forms.Design.ControlDesigner class.

Protected Fields

accessibilityObjSystem.Windows.Forms.AccessibleObject.

Specifies the accessibility object for the designer.

static readonly
InvalidPointSystem.Drawing.Point.

Defines a local System.Drawing.Point that represents the values of an invalid System.Drawing.Point.

Public Properties

[read-only]
AccessibilityObjectSystem.Windows.Forms.AccessibleObject.

Gets the System.Windows.Forms.AccessibleObject assigned to the control.

[read-only]
override
AssociatedComponentsICollection.

Gets the collection of components associated with the component managed by the designer.

AutoResizeHandlesbool.

Gets or sets a value indicating whether resize handle allocation depends on the value of the System.Windows.Forms.Control.AutoSize property.

[read-only]
ControlSystem.Windows.Forms.Control.

Gets the control that the designer is designing.

[read-only]
ParticipatesWithSnapLinesbool.

Gets a value indicating whether the System.Windows.Forms.Design.ControlDesigner will allow snapline alignment during a drag operation.

[read-only]
SelectionRulesSelectionRules.

Gets the selection rules that indicate the movement capabilities of a component.

[read-only]
SnapLinesIList.

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

Protected Properties

[read-only]
BehaviorServiceSystem.Windows.Forms.Design.Behavior.BehaviorService.

Gets the System.Windows.Forms.Design.Behavior.BehaviorService from the design environment.

[read-only]
EnableDragRectbool.

Gets a value indicating whether drag rectangles can be drawn on this designer component.

[read-only]
override
InheritanceAttributeSystem.ComponentModel.InheritanceAttribute.

Gets the System.ComponentModel.InheritanceAttribute of the designer.

[read-only]
override
ParentComponentSystem.ComponentModel.IComponent.

Gets the parent component for the System.Windows.Forms.Design.ControlDesigner.

Public Methods

CanBeParentedTo(System.ComponentModel.Design.IDesigner) : bool

Indicates if this designer's control can be parented by the control of the specified designer.

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
InitializeExistingComponent(IDictionary)

Re-initializes an existing component.

override
InitializeNewComponent(IDictionary)

Initializes a newly created component.

InternalControlDesigner(int) : ControlDesigner

Returns the internal control designer with the specified index in the System.Windows.Forms.Design.ControlDesigner.

NumberOfInternalControlDesigners() : int

Returns the number of internal control designers in the System.Windows.Forms.Design.ControlDesigner.

override
OnSetComponentDefaults()

Called when the designer is intialized.

Protected Methods

BaseWndProc(ref System.Windows.Forms.Message)
Documentation for this section has not yet been entered.
DefWndProc(ref System.Windows.Forms.Message)
Documentation for this section has not yet been entered.
DisplayError(Exception)

Displays information about the specified exception to the user.

override
Dispose(bool)

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

EnableDesignMode(System.Windows.Forms.Control, string) : bool

Enables design time functionality for a child control.

EnableDragDrop(bool)

Enables or disables drag-and-drop support for the control being designed.

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

Returns a System.Windows.Forms.Design.Behavior.ControlBodyGlyph representing the bounds of this control.

GetHitTest(System.Drawing.Point) : bool

Indicates whether a mouse click at the specified point should be handled by the control.

HookChildControls(System.Windows.Forms.Control)

Routes messages from the child controls of the specified control to the designer.

OnContextMenu(int, int)

Shows the context menu and provides an opportunity to perform additional processing when the context menu is about to be displayed.

OnCreateHandle()

Provides an opportunity to perform additional processing immediately after the control handle has been created.

OnDragComplete(System.Windows.Forms.DragEventArgs)

Receives a call to clean up a drag-and-drop operation.

OnDragDrop(System.Windows.Forms.DragEventArgs)

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

OnDragEnter(System.Windows.Forms.DragEventArgs)

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

OnDragLeave(EventArgs)

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

OnDragOver(System.Windows.Forms.DragEventArgs)

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

OnGiveFeedback(System.Windows.Forms.GiveFeedbackEventArgs)

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.

OnMouseDragBegin(int, int)

Receives a call in response to the left mouse button being pressed and held while over the component.

OnMouseDragEnd(bool)

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

OnMouseDragMove(int, int)

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

OnMouseEnter()

Receives a call when the mouse first enters the control.

OnMouseHover()

Receives a call after the mouse hovers over the control.

OnMouseLeave()

Receives a call when the mouse first enters the control.

OnPaintAdornments(System.Windows.Forms.PaintEventArgs)

Receives a call 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.

OnSetCursor()

Receives a call each time the cursor needs to be set.

override
PreFilterProperties(IDictionary)

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

UnhookChildControls(System.Windows.Forms.Control)

Routes messages for the children of the specified control to each control rather than to a parent designer.

WndProc(ref System.Windows.Forms.Message)
Documentation for this section has not yet been entered.

Explicitly Implemented Interface Members

System.Windows.Forms.Design.IMessageReceiver.WndProcDocumentation for this section has not yet been entered.