Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ControlDesigner Members

Extends the design mode behavior of a Control.

The ControlDesigner type exposes the following members.

  NameDescription
Public method ControlDesigner Initializes a new instance of the ControlDesigner class.
Top
  NameDescription
Protected method BaseWndProc Processes Windows messages.
Public method CanBeParentedTo Indicates if this designer's control can be parented by the control of the specified designer.
Protected method DefWndProc Provides default processing for Windows messages.
Protected method DisplayError Displays information about the specified exception to the user.
Public method Dispose Overloaded. Releases the unmanaged resources used by the ControlDesigner and optionally releases the managed resources.
Public method 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.)
Protected method EnableDesignMode Enables design time functionality for a child control.
Protected method EnableDragDrop Enables or disables drag-and-drop support for the control being designed.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Attempts to free resources by calling Dispose(false) before the object is reclaimed by garbage collection. (Inherited from ComponentDesigner.)
Protected method GetControlGlyph Returns a ControlBodyGlyph representing the bounds of this control.
Public method GetGlyphs Gets a collection of Glyph objects representing the selection borders and grab handles for a standard control.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Protected method GetHitTest Indicates whether a mouse click at the specified point should be handled by the control.
Protected method GetService Attempts to retrieve the specified type of service from the design mode site of the designer's component. (Inherited from ComponentDesigner.)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Protected method HookChildControls Routes messages from the child controls of the specified control to the designer.
Public method Initialize Initializes the designer with the specified component. (Overrides ComponentDesigner.Initialize(IComponent).)
Public method InitializeExistingComponent Re-initializes an existing component. (Overrides ComponentDesigner.InitializeExistingComponent(IDictionary).)
Public method InitializeNewComponent Initializes a newly created component. (Overrides ComponentDesigner.InitializeNewComponent(IDictionary).)
Public method InitializeNonDefault Obsolete. Initializes the settings for an imported component that is already initialized to settings other than the defaults. (Inherited from ComponentDesigner.)
Public method InternalControlDesigner Returns the internal control designer with the specified index in the ControlDesigner.
Protected method InvokeGetInheritanceAttribute Gets the InheritanceAttribute of the specified ComponentDesigner. (Inherited from ComponentDesigner.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method NumberOfInternalControlDesigners Returns the number of internal control designers in the ControlDesigner.
Protected method OnContextMenu Shows the context menu and provides an opportunity to perform additional processing when the context menu is about to be displayed.
Protected method OnCreateHandle Provides an opportunity to perform additional processing immediately after the control handle has been created.
Protected method OnDragComplete Receives a call to clean up a drag-and-drop operation.
Protected method OnDragDrop Receives a call when a drag-and-drop object is dropped onto the control designer view.
Protected method OnDragEnter Receives a call when a drag-and-drop operation enters the control designer view.
Protected method OnDragLeave Receives a call when a drag-and-drop operation leaves the control designer view.
Protected method OnDragOver Receives a call when a drag-and-drop object is dragged over the control designer view.
Protected method 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.
Protected method OnMouseDragBegin Receives a call in response to the left mouse button being pressed and held while over the component.
Protected method OnMouseDragEnd Receives a call at the end of a drag-and-drop operation to complete or cancel the operation.
Protected method OnMouseDragMove Receives a call for each movement of the mouse during a drag-and-drop operation.
Protected method OnMouseEnter Receives a call when the mouse first enters the control.
Protected method OnMouseHover Receives a call after the mouse hovers over the control.
Protected method OnMouseLeave Receives a call when the mouse first enters the control.
Protected method OnPaintAdornments 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.
Public method OnSetComponentDefaults Obsolete. Called when the designer is intialized. (Overrides ComponentDesigner.OnSetComponentDefaults().)
Protected method OnSetCursor Receives a call each time the cursor needs to be set.
Protected method PostFilterAttributes Allows a designer to change or remove items from the set of attributes that it exposes through a TypeDescriptor. (Inherited from ComponentDesigner.)
Protected method PostFilterEvents Allows a designer to change or remove items from the set of events that it exposes through a TypeDescriptor. (Inherited from ComponentDesigner.)
Protected method PostFilterProperties Allows a designer to change or remove items from the set of properties that it exposes through a TypeDescriptor. (Inherited from ComponentDesigner.)
Protected method PreFilterAttributes Allows a designer to add to the set of attributes that it exposes through a TypeDescriptor. (Inherited from ComponentDesigner.)
Protected method PreFilterEvents Allows a designer to add to the set of events that it exposes through a TypeDescriptor. (Inherited from ComponentDesigner.)
Protected method PreFilterProperties Adjusts the set of properties the component exposes through a TypeDescriptor. (Overrides ComponentDesigner.PreFilterProperties(IDictionary).)
Protected method RaiseComponentChanged Notifies the IComponentChangeService that this component has been changed. (Inherited from ComponentDesigner.)
Protected method RaiseComponentChanging Notifies the IComponentChangeService that this component is about to be changed. (Inherited from ComponentDesigner.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Protected method UnhookChildControls Routes messages for the children of the specified control to each control rather than to a parent designer.
Protected method WndProc Processes Windows messages and optionally routes them to the control.
Top
  NameDescription
Protected field accessibilityObj Specifies the accessibility object for the designer.
Protected field Static member InvalidPoint Defines a local Point that represents the values of an invalid Point.
Top
  NameDescription
Public property AccessibilityObject Gets the AccessibleObject assigned to the control.
Public property ActionLists Gets the design-time action lists supported by the component associated with the designer. (Inherited from ComponentDesigner.)
Public property AssociatedComponents Gets the collection of components associated with the component managed by the designer. (Overrides ComponentDesigner.AssociatedComponents.)
Public property AutoResizeHandles Infrastructure. Gets or sets a value indicating whether resize handle allocation depends on the value of the AutoSize property.
Protected property BehaviorService Gets the BehaviorService from the design environment.
Public property Component Gets the component this designer is designing. (Inherited from ComponentDesigner.)
Public property Control Gets the control that the designer is designing.
Protected property EnableDragRect Gets a value indicating whether drag rectangles can be drawn on this designer component.
Protected property InheritanceAttribute Gets the System.ComponentModel.InheritanceAttribute of the designer. (Overrides ComponentDesigner.InheritanceAttribute.)
Protected property Inherited Gets a value indicating whether this component is inherited. (Inherited from ComponentDesigner.)
Protected property ParentComponent Gets the parent component for the ControlDesigner. (Overrides ComponentDesigner.ParentComponent.)
Public property ParticipatesWithSnapLines Gets a value indicating whether the ControlDesigner will allow snapline alignment during a drag operation.
Public property SelectionRules Gets the selection rules that indicate the movement capabilities of a component.
Protected property ShadowProperties Gets a collection of property values that override user settings. (Inherited from ComponentDesigner.)
Public property SnapLines Gets a list of SnapLine objects representing significant alignment points for this control.
Public property Verbs Gets the design-time verbs supported by the component that is associated with the designer. (Inherited from ComponentDesigner.)
Top
  NameDescription
Explicit interface implemetation Private property ITreeDesigner.Children For a description of this member, see the ITreeDesigner.Children property. (Inherited from ComponentDesigner.)
Explicit interface implemetation Private property ITreeDesigner.Parent For a description of this member, see the ITreeDesigner.Parent property. (Inherited from ComponentDesigner.)
Explicit interface implemetation Private method IDesignerFilter.PostFilterAttributes For a description of this member, see the IDesignerFilter.PostFilterAttributes method. (Inherited from ComponentDesigner.)
Explicit interface implemetation Private method IDesignerFilter.PostFilterEvents For a description of this member, see the IDesignerFilter.PostFilterEvents method. (Inherited from ComponentDesigner.)
Explicit interface implemetation Private method IDesignerFilter.PostFilterProperties For a description of this member, see the IDesignerFilter.PostFilterProperties method. (Inherited from ComponentDesigner.)
Explicit interface implemetation Private method IDesignerFilter.PreFilterAttributes For a description of this member, see the IDesignerFilter.PreFilterAttributes method. (Inherited from ComponentDesigner.)
Explicit interface implemetation Private method IDesignerFilter.PreFilterEvents For a description of this member, see the IDesignerFilter.PreFilterEvents method. (Inherited from ComponentDesigner.)
Explicit interface implemetation Private method IDesignerFilter.PreFilterProperties For a description of this member, see the IDesignerFilter.PreFilterProperties method. (Inherited from ComponentDesigner.)
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.