ComponentDocumentDesigner Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Base designer class for extending the design mode behavior of a root design document that supports nested components.
public ref class ComponentDocumentDesigner : System::ComponentModel::Design::ComponentDesigner, IDisposable, System::ComponentModel::Design::IRootDesigner, System::ComponentModel::Design::ITypeDescriptorFilterService, System::Drawing::Design::IToolboxUser
public class ComponentDocumentDesigner : System.ComponentModel.Design.ComponentDesigner, IDisposable, System.ComponentModel.Design.IRootDesigner, System.ComponentModel.Design.ITypeDescriptorFilterService, System.Drawing.Design.IToolboxUser
type ComponentDocumentDesigner = class
inherit ComponentDesigner
interface IRootDesigner
interface IDesigner
interface IDisposable
interface IToolboxUser
interface ITypeDescriptorFilterService
Public Class ComponentDocumentDesigner
Inherits ComponentDesigner
Implements IDisposable, IRootDesigner, IToolboxUser, ITypeDescriptorFilterService
- Inheritance
- Implements
Remarks
ComponentDocumentDesigner provides a base class for designers of root design documents that support nested components. In addition to the methods and functionality inherited from the ComponentDesigner class, ComponentDocumentDesigner implements the IRootDesigner interface to provide a root-level design mode view for the associated component, and any nested components.
Note
The root-level design mode view for a Form or Control is typically provided by a built-in root designer. A custom IRootDesigner implementation is required to provide a view for other types of root components in design mode.
You can associate a designer with a type using a DesignerAttribute. For an overview of customizing design time behavior, see Extending Design-Time Support.
Constructors
ComponentDocumentDesigner() |
Initializes a new instance of the ComponentDocumentDesigner class. |
Properties
ActionLists |
Gets the design-time action lists supported by the component associated with the designer. (Inherited from ComponentDesigner) |
AssociatedComponents |
Gets the collection of components associated with the component managed by the designer. (Inherited from ComponentDesigner) |
Component |
Gets the component this designer is designing. (Inherited from ComponentDesigner) |
Control |
Gets the control for the designer. |
InheritanceAttribute |
Gets an attribute that indicates the type of inheritance of the associated component. (Inherited from ComponentDesigner) |
Inherited |
Gets a value indicating whether this component is inherited. (Inherited from ComponentDesigner) |
ParentComponent |
Gets the parent component for this designer. (Inherited from ComponentDesigner) |
SetTextualDefaultProperty | (Inherited from ComponentDesigner) |
ShadowProperties |
Gets a collection of property values that override user settings. (Inherited from ComponentDesigner) |
TrayAutoArrange |
Gets or sets a value indicating whether the component tray for the designer is in auto-arrange mode. |
TrayLargeIcon |
Gets or sets a value indicating whether the component tray for the designer is in large icon mode. |
Verbs |
Gets the design-time verbs supported by the component that is associated with the designer. (Inherited from ComponentDesigner) |
Methods
Dispose() |
Releases all resources used by the ComponentDesigner. (Inherited from ComponentDesigner) |
Dispose(Boolean) |
Releases the unmanaged resources used by the ComponentDocumentDesigner and optionally releases the managed resources. |
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) |
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
GetHashCode() |
Serves as the default hash function. (Inherited from Object) |
GetService(Type) |
Attempts to retrieve the specified type of service from the design mode site of the designer's component. (Inherited from ComponentDesigner) |
GetToolSupported(ToolboxItem) |
Gets a value indicating whether the specified tool is supported by the designer. |
GetType() |
Gets the Type of the current instance. (Inherited from Object) |
Initialize(IComponent) |
Initializes the designer with the specified component. |
InitializeExistingComponent(IDictionary) |
Reinitializes an existing component. (Inherited from ComponentDesigner) |
InitializeNewComponent(IDictionary) |
Initializes a newly created component. (Inherited from ComponentDesigner) |
InitializeNonDefault() |
Obsolete.
Obsolete.
Initializes the settings for an imported component that is already initialized to settings other than the defaults. (Inherited from ComponentDesigner) |
InvokeGetInheritanceAttribute(ComponentDesigner) |
Gets the InheritanceAttribute of the specified ComponentDesigner. (Inherited from ComponentDesigner) |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
OnSetComponentDefaults() |
Obsolete.
Obsolete.
Sets the default properties for the component. (Inherited from ComponentDesigner) |
PostFilterAttributes(IDictionary) |
Allows a designer to change or remove items from the set of attributes that it exposes through a TypeDescriptor. (Inherited from ComponentDesigner) |
PostFilterEvents(IDictionary) |
Allows a designer to change or remove items from the set of events that it exposes through a TypeDescriptor. (Inherited from ComponentDesigner) |
PostFilterProperties(IDictionary) |
Allows a designer to change or remove items from the set of properties that it exposes through a TypeDescriptor. (Inherited from ComponentDesigner) |
PreFilterAttributes(IDictionary) |
Allows a designer to add to the set of attributes that it exposes through a TypeDescriptor. (Inherited from ComponentDesigner) |
PreFilterEvents(IDictionary) |
Allows a designer to add to the set of events that it exposes through a TypeDescriptor. (Inherited from ComponentDesigner) |
PreFilterProperties(IDictionary) |
Adjusts the set of properties the component will expose through a TypeDescriptor. |
RaiseComponentChanged(MemberDescriptor, Object, Object) |
Notifies the IComponentChangeService that this component has been changed. (Inherited from ComponentDesigner) |
RaiseComponentChanging(MemberDescriptor) |
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) |