WebFormsRootDesigner Class
TOC
Collapse the table of content
Expand the table of content

WebFormsRootDesigner Class

 

Provides a base class for the design-time functionality of a Web Forms page and allows access to and manipulation of components and controls that are contained within the Web Forms page at design time.

Namespace:   System.Web.UI.Design
Assembly:  System.Design (in System.Design.dll)

System.Object
  System.Web.UI.Design.WebFormsRootDesigner

public abstract class WebFormsRootDesigner : IRootDesigner, IDesigner, 
	IDisposable, IDesignerFilter

NameDescription
System_CAPS_protmethodWebFormsRootDesigner()

Initializes a new instance of the WebFormsRootDesigner class.

NameDescription
System_CAPS_pubpropertyComponent

Gets or sets the component that this designer is designing.

System_CAPS_pubpropertyCurrentCulture

Gets the culture information for the current thread.

System_CAPS_pubpropertyDocumentUrl

When overridden in a derived class, gets the URL at which the Web Forms page is located.

System_CAPS_pubpropertyIsDesignerViewLocked

When overridden in a derived class, gets a value indicating whether the designer view is locked.

System_CAPS_pubpropertyIsLoading

When overridden in a derived class, gets a value indicating whether the Web Forms page is still loading.

System_CAPS_pubpropertyReferenceManager

When overridden in a derived class, gets a WebFormsReferenceManager object that has information about the current Web Forms page.

System_CAPS_protpropertySupportedTechnologies

Gets an array of technologies that the designer component can support for its display.

System_CAPS_protpropertyVerbs

Gets the design-time verbs that are supported by the designer.

NameDescription
System_CAPS_pubmethodAddClientScriptToDocument(ClientScriptItem)

When overridden in a derived class, adds a client script element to the current Web Forms page.

System_CAPS_pubmethodAddControlToDocument(Control, Control, ControlLocation)

When overridden in a derived class, adds a Web server control to the Web Forms page.

System_CAPS_protmethodCreateDesignerActionService(IServiceProvider)

Returns a design-time DesignerActionService object.

System_CAPS_protmethodCreateUrlResolutionService()

Returns an IUrlResolutionService that resolves relative URLs.

System_CAPS_protmethodDispose(Boolean)

Releases the unmanaged resources that are used by the WebFormsRootDesigner and optionally releases the managed resources.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Frees the resources of the current WebFormsRootDesigner object before it is reclaimed by the garbage collector.(Overrides Object.Finalize().)

System_CAPS_pubmethodGenerateEmptyDesignTimeHtml(Control)

Generates empty HTML markup for a control at design time.

System_CAPS_pubmethodGenerateErrorDesignTimeHtml(Control, Exception, String)

Generates HTML markup that is used to display an error message at design time by using the specified control, exception, and message.

System_CAPS_pubmethodGetClientScriptsInDocument()

When overridden in a derived class, returns a ClientScriptItemCollection object that contains all client script items that are on the page.

System_CAPS_protmethodGetControlViewAndTag(Control, IControlDesignerView, IControlDesignerTag)

When overridden in a derived class, returns both the current design-time view and the HTML markup for the specified control.

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_protmethodGetService(Type)

Returns the requested service.

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodGetView(ViewTechnology)

Returns a view object that is determined by the provided ViewTechnology object.

System_CAPS_pubmethodInitialize(IComponent)

Initializes the WebFormsRootDesigner object using the specified component.

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_protmethodOnLoadComplete(EventArgs)

Raises the LoadComplete event when the Web Forms page is completely loaded.

System_CAPS_protmethodPostFilterAttributes(IDictionary)

Allows a designer to change or remove items from the set of attributes that the designer exposes through a TypeDescriptor object.

System_CAPS_protmethodPostFilterEvents(IDictionary)

Allows a designer to change or remove items from the set of events that the designer exposes through a TypeDescriptor object.

System_CAPS_protmethodPostFilterProperties(IDictionary)

Allows a designer to change or remove items from the set of properties that the designer exposes through a TypeDescriptor object.

System_CAPS_protmethodPreFilterAttributes(IDictionary)

Allows a designer to add to the set of attributes that the designer exposes through a TypeDescriptor object.

System_CAPS_protmethodPreFilterEvents(IDictionary)

Allows a designer to add items to the set of events that the designer exposes through a TypeDescriptor object.

System_CAPS_protmethodPreFilterProperties(IDictionary)

Allows a designer to add items to the set of properties that the designer exposes through a TypeDescriptor object.

System_CAPS_pubmethodRemoveClientScriptFromDocument(String)

Removes the specified client script from the document at design time.

System_CAPS_pubmethodRemoveControlFromDocument(Control)

When overridden in a derived class, removes the specified control from the Web Forms page.

System_CAPS_pubmethodResolveUrl(String)

Converts a relative URL into a fully qualified URL.

System_CAPS_pubmethodSetControlID(Control, String)

Sets the ID property of the specified control with the specified string.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

NameDescription
System_CAPS_pubeventLoadComplete

Occurs when the designer completes loading the Web Forms page.

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodIDesigner.DoDefaultAction()

For a description of this member, see IDesigner.DoDefaultAction.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIDesignerFilter.PostFilterAttributes(IDictionary)

This API supports the product infrastructure and is not intended to be used directly from your code. For a description of this member, see IDesignerFilter.PostFilterAttributes.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIDesignerFilter.PostFilterEvents(IDictionary)

This API supports the product infrastructure and is not intended to be used directly from your code. For a description of this member, see IDesignerFilter.PostFilterEvents.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIDesignerFilter.PostFilterProperties(IDictionary)

This API supports the product infrastructure and is not intended to be used directly from your code. For a description of this member, see IDesignerFilter.PostFilterProperties.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIDesignerFilter.PreFilterAttributes(IDictionary)

This API supports the product infrastructure and is not intended to be used directly from your code. For a description of this member, see IDesignerFilter.PreFilterAttributes.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIDesignerFilter.PreFilterEvents(IDictionary)

This API supports the product infrastructure and is not intended to be used directly from your code. For a description of this member, see IDesignerFilter.PreFilterEvents.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIDesignerFilter.PreFilterProperties(IDictionary)

This API supports the product infrastructure and is not intended to be used directly from your code. For a description of this member, see IDesignerFilter.PreFilterProperties.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIRootDesigner.GetView(ViewTechnology)

Gets a view object for the specified view technology. For a description of this member, see IRootDesigner.GetView(ViewTechnology).

System_CAPS_pubinterfaceSystem_CAPS_privmethodIDisposable.Dispose()

For a description of this member, see Dispose.

System_CAPS_pubinterfaceSystem_CAPS_privpropertyIDesigner.Verbs

Gets or sets the design-time verbs that are supported by the designer. For a description of this member, see IDesigner.Verbs.

System_CAPS_pubinterfaceSystem_CAPS_privpropertyIRootDesigner.SupportedTechnologies

Gets an array of technologies that the designer component can support for its display. For a description of this member, see IRootDesigner.SupportedTechnologies.

A design host, such as Visual Studio 2005, must provide its own derived version of the WebFormsRootDesigner class to control designers through the RootDesigner property of the designer. Control designers use the RootDesigner property to access and manipulate the containing Web Forms page at design time.

Notes to Inheritors:

When you inherit from the WebFormsRootDesigner class, you must override the following members:

.NET Framework
Available since 2.0

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft