#CollapsiblePanelPartDesigner

##Properties

Datatype Property name Property description Default Value
DesignerActionListCollection ActionLists Gets the action list collection for the control designer. {null}
Boolean AllowResize   False
ICollection AssociatedComponents Gets the collection of components associated with the component managed by the designer. []
DesignerAutoFormatCollection AutoFormats Gets the collection of predefined automatic formatting schemes to display in the Auto Format dialog box for the associated control at design time. null
IHtmlControlDesignerBehavior Behavior Gets or sets the DHTML behavior that is associated with the designer. (deprecated) null
IComponent Component Gets the component this designer is designing. null
DataBindingCollection DataBindings Gets the data bindings collection for the current control. null
Boolean DesignTimeHtmlRequiresLoadComplete Gets a value indicating whether the design host must finish loading before the Overload:System.Web.UI.Design.ControlDesigner.GetDesignTimeHtml method can be called. (deprecated) False
ExpressionBindingCollection Expressions Gets the expression bindings for the current control at design time. null
String FrameCaption Gets the caption that is displayed for a control at design time. null
Style FrameStyle Gets the style that is applied to the control frame at design time. null
String ID Gets or sets the ID string for the control. null
Boolean IsDirty Gets or sets a value indicating whether the Web server control has been marked as changed. (deprecated) False
Boolean ReadOnly Gets or sets a value indicating whether the properties of the control are read-only at design time. (deprecated) True
Boolean ShouldCodeSerialize Gets or sets a value indicating whether to create a field declaration for the control in the code-behind file for the current design document during serialization. (deprecated) True
TemplateGroupCollection TemplateGroups Gets a collection of template groups, each containing one or more template definitions. null
DesignerVerbCollection Verbs Gets the design-time verbs supported by the component that is associated with the designer. {}
Control ViewControl Gets or sets a Web server control that can be used for previewing the design-time HTML markup. null
Boolean ViewControlCreated Gets or sets a value indicating whether a View control has been created for display on the design surface. False

##Methods

###Dispose() Releases all resources used by the System.ComponentModel.Design.ComponentDesigner.


###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.


###Equals(System.Object) Determines whether the specified System.Object is equal to the current System.Object.

Parameters:

Returns:

true if the specified System.Object is equal to the current System.Object; otherwise, false.


###GetBounds() Retrieves the coordinates of the rectangle representing the boundaries for the control as displayed on the design surface.

Returns:

A System.Drawing.Rectangle object representing the boundaries for the control on the design surface relative to the control, not the document.


###GetDesignTimeCssAttributes() Returns the collection of style attributes for the control at design time.

Returns:

A collection of style attributes applied to the control on the design surface. The style attribute names are keys used to access the style attribute values in the System.Collections.IDictionary.


###GetDesignTimeHtml(System.Web.UI.Design.DesignerRegionCollection) Returns the HTML markup that is used to represent the control at design time.

Parameters:

Returns:

An HTML markup string that represents the control.


###GetDesignTimeHtml() Retrieves the HTML markup that is used to represent the control at design time.

Returns:

The HTML markup used to represent the control at design time.


###GetEditableDesignerRegionContent(System.Web.UI.Design.EditableDesignerRegion) Returns the content for the editable region of the control at design time.

Parameters:

Returns:

The persisted content of the region contained within the System.Web.UI.Design.ContainerControlDesigner.


###GetHashCode() Serves as a hash function for a particular type.

Returns:

A hash code for the current System.Object.


###GetPersistenceContent() Returns the persistable content of the control at design time.

Returns:

null.


###GetPersistInnerHtml() Retrieves the persistable inner HTML markup of the control. (deprecated)

Returns:

The persistable inner HTML markup of the control.


###GetType() Gets the System.Type of the current instance.

Returns:

The System.Type instance that represents the exact runtime type of the current instance.


###GetViewRendering() Retrieves an object that contains the design-time markup for the content and regions of the associated control.

Returns:

A System.Web.UI.Design.ViewRendering object.


###Initialize(System.ComponentModel.IComponent) Initializes the control designer and loads the specified component.

Parameters:


###InitializeExistingComponent(System.Collections.IDictionary) Reinitializes an existing component.

Parameters:

  • System.Collections.IDictionary defaultValues - A name/value dictionary of default values to apply to properties. May be null if no default values are specified.

###InitializeNewComponent(System.Collections.IDictionary) Initializes a newly created component.

Parameters:

  • System.Collections.IDictionary defaultValues - A name/value dictionary of default values to apply to properties. May be null if no default values are specified.

###InitializeNonDefault() Initializes the settings for an imported component that is already initialized to settings other than the defaults. (deprecated)


###Invalidate() Invalidates the whole area of the control that is displayed on the design surface and signals the control designer to redraw the control.


###Invalidate(System.Drawing.Rectangle) Invalidates the specified area of the control that is displayed on the design surface and signals the control designer to redraw the control.

Parameters:


###IsPropertyBound(System.String) Retrieves a value indicating whether the specified property on the associated control is data-bound. (deprecated)

Parameters:

  • System.String propName - The property to test for data binding.

Returns:

true, if the property is data-bound; otherwise, false.


###Localize(System.Web.UI.Design.IDesignTimeResourceWriter) Uses the provided resource writer to persist the localizable properties of the associated control to a resource in the design host.

Parameters:


###OnAutoFormatApplied(System.Web.UI.Design.DesignerAutoFormat) Called when a predefined, automatic formatting scheme has been applied to the associated control.

Parameters:


###OnComponentChanged(System.Object,System.ComponentModel.Design.ComponentChangedEventArgs) Called when the associated control changes.

Parameters:


###OnComponentChanging(System.Object,System.ComponentModel.Design.ComponentChangingEventArgs) Represents the method that will handle the System.ComponentModel.Design.IComponentChangeService.ComponentChanging event for the associated control.

Parameters:


###OnSetComponentDefaults() Sets the default properties for the component. (deprecated)


###OnSetParent() Provides a way to perform additional processing when the associated control is attached to a parent control.


###RaiseResizeEvent() Raises the System.Web.UI.Design.ControlDesigner.OnControlResize event. (deprecated)


###RegisterClone(System.Object,System.Object) Registers internal data in a cloned control.

Parameters:

  • System.Object original - The control associated with the control designer.
  • System.Object clone - The cloned copy of the associated control.

###SetEditableDesignerRegionContent(System.Web.UI.Design.EditableDesignerRegion,System.String) Sets the content for the editable region of the control at design time.

Parameters:


###ToString() Returns a System.String that represents the current System.Object.

Returns:

A System.String that represents the current System.Object.


###UpdateDesignTimeHtml() Refreshes the design-time HTML markup for the associated Web server control by calling the Overload:System.Web.UI.Design.ControlDesigner.GetDesignTimeHtml method.