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!

TemplatedControlDesigner Methods

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

Public:

Dispose (inherited from HtmlControlDesigner) 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 (inherited from HtmlControlDesigner) Draws a glyph at the bottom right edge of the HTML element representing the control.
EnterTemplateMode Opens a particular template frame object for editing in the designer.
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).
Exec Executes a command verb.
ExitTemplateMode Closes the currently active template editing frame after saving any relevant changes.
GetContainingTemplateName (inherited from HtmlControlDesigner) Gets the name of the containing template.
GetDesignTimeHTML (inherited from UserControlDesigner) Gets the HTML to be used for the design time representation of the control runtime.
GetEmptyDesignTimeHTML (inherited from UserControlDesigner) Gets the HTML to be used at design time as the representation of the control when the control runtime does not return any rendered HTML. The default behavior is to return a string containing the name of the component.
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.
GetPersistInnerHTML Gets the HTML to be persisted for the content present within the associated server control runtime.
GetSourceEventSink (inherited from HtmlControlDesigner) Gets the object that will be notified of changes in the HTMED source view.
GetTemplateContainerDataItemProperty Gets the template's container's data item property.
GetTemplateContainerDataSource Gets the template's container's data source.
GetTemplateContent Gets the template's content.
GetTemplateFrameContent Gets the template's frame's content.
GetTemplateFrames Gets the template's frames.
GetTemplateVerbs Gets the verbs currently available to the template.
GetType (inherited from Object) Gets the Type of the Object.
HasID (inherited from HtmlControlDesigner) Gets if the associated runtime control has a valid ID property.
Initialize (inherited from WebControlDesigner) Initializes the designer with the specified component.
IsPropertyBound (inherited from UserControlDesigner) Gets whether a particular property (identified by its name) is data bound.
OnBindingsCollectionChanged (inherited from UserControlDesigner) Delegate to handle bindings collection changed event.
OnComponentChanged Delegate to handle the component 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 (inherited from HtmlControlDesigner) 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 the component it is designing will expose through the TypeDescriptor object.
QueryStatus Checks the status of the designer.
SetTemplateContent Sets the template content to the specified content.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected:

EnableUndo (inherited from HtmlControlDesigner) [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.
HandleTemplateVerb Delegate to handle template verb invocation.
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 behavior is attached to the designer.
OnBehaviorDetached (inherited from HtmlControlDesigner) 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.
PersistAttribute (inherited from UserControlDesigner) Persists individual attributes into HTML.
PersistProperties (inherited from UserControlDesigner) Enumerates and persists all properties of a control including sub properties.
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.
RemoveSizeAttributes (inherited from WebControlDesigner) Maps the width, height, left and top style attributes to the respective properties on the web control.
SaveActiveTemplateFrame Saves the active template frame.
SetPropertyWithUndo (inherited from ComponentDesigner) Overloaded. [To be supplied.]
UpdateDesignTimeHTML Updates the design-time HTML.

See Also

TemplatedControlDesigner Class | System.Web.UI.Design Namespace