NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

HtmlControlDesigner Methods

The methods of the HtmlControlDesigner class are listed below. For a complete list of HtmlControlDesigner class members, see the HtmlControlDesigner Members topic.

Public:

Dispose Disposes of the resources (other than memory) used by the HtmlControlDesigner.
DoDefaultAction (inherited from ComponentDesigner) This 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.
DrawGlyph Draws a glyph at the bottom right edge of the HTML element representing the control.
Equals (inherited from Object) Determines whether the specified Object is the same instance as the current Object. Subclasses are expected to override this method to support value equality (not reference equality).
GetContainingTemplateName Gets the name of the containing template.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetSourceEventSink Gets the object that will be notified of changes in the HTMED source view.
GetType (inherited from Object) Gets the Type of the Object.
HasID Gets if the associated runtime control has a valid ID property.
Initialize (inherited from ComponentDesigner) Establishes the component for this designer. The designer host will set this when it is ready for the designer to be used.
OnBindingsCollectionChanged Delegate to handle bindings collection changed event.
OnSetComponentDefaults (inherited from ComponentDesigner) Called when the designer is intialized. This allows the designer to provide some meaningful default values in the component. The default implementation of this sets the components's default property to it's name, if that property is a string.
PersistEventAttributes Persists event 'bindings' as attributes on the HTMLElement.
PostFilterAttributes (inherited from ComponentDesigner) Allows a designer to filter the set of member attributes the component it is designing will expose through the TypeDescriptor object. This method is called immediately after its corresponding "Pre" method. If you are overriding this method you should call the the base implementation after you perform your own filtering.
PostFilterEvents (inherited from ComponentDesigner) Allows a designer to filter the set of events the component it is designing will expose through the TypeDescriptor object. This method is called immediately after its corresponding "Pre" method. If you are overriding this method you should call the the base implementation after you perform your own filtering.
PostFilterProperties (inherited from ComponentDesigner) Allows a designer to filter the set of properties the component it is designing will expose through the TypeDescriptor object. This method is called immediately after its corresponding "Pre" method. If you are overriding this method you should call the the base implementation after you perform your own filtering.
PreFilterAttributes (inherited from ComponentDesigner) Allows a designer to filter the set of member attributes the component it is designing will expose through the TypeDescriptor object. This method is called immediately before its corresponding "Post" method. If you are overriding this method you should call the base implementation before you perform your own filtering.
PreFilterEvents (inherited from ComponentDesigner) Allows a designer to filter the set of events the component it is designing will expose through the TypeDescriptor object. This method is called immediately before its corresponding "Post" method. If you are overriding this method you should call the base implementation before you perform your own filtering.
PreFilterProperties Allows a designer to filter the set of member attributes that the component it is designing will expose through the TypeDescriptor object.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected:

EnableUndo [To be supplied.]
Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by the Garbage Collector (GC). This method may be ignored by the runtime; therefore, necessary cleanup operations should be done elsewhere.
GetDefaultValue (inherited from ComponentDesigner) Retrieves the default value for the given property. If there is no default value attribute, this will assume that comp already contains the default value and request the value directly from it.
GetServiceObject (inherited from ComponentDesigner) Provides a way for a designer to get services from the hosting environment. The default implementation of this requests the service from the compoent's site.
InvokeGetInheritanceAttribute (inherited from ComponentDesigner) [To be supplied.]
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
OnBehaviorAttached Notification that is called when the designer is attached to the behavior.
OnBehaviorDetached Notification that is called when the designer is detached from the behavior.
OnInitializeShadowProperties (inherited from ComponentDesigner) Called when the designer is intialized. This allows the designer to initialize the values of any shadow properties it has.
RaiseComponentChanged (inherited from ComponentDesigner) Notifies the IComponentChangeService that this component has been changed. You only need to call this when you are affecting component properties directly and not through the MemberDescriptor's accessors.
RaiseComponentChanging (inherited from ComponentDesigner) Notifies the IComponentChangeService that this component is about to be changed. You only need to call this when you are affecting component properties directly and not through the MemberDescriptor's accessors.
SetPropertyWithUndo (inherited from ComponentDesigner) Overloaded. [To be supplied.]

See Also

HtmlControlDesigner Class | System.Web.UI.Design Namespace