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!

TemplateEditingFrame Methods

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

Public:

Close Save all the individual templates present within the frame and hide it.
Dispose Disposes of the resources (other than memory) used by the TemplateEditingFrame.
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).
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.
GetType (inherited from Object) Gets the Type of the Object.
InitializeFrom Initialize from content by creating the necessary HTML element tree structure, etc.
Invoke (inherited from MenuCommand) Invokes a menu item.
OnControlNameChanged Fired when the associated templated control's ID/Name has changed. The template frame updates this information in the live HTML tree.
Open Opens this frame for editing in the designer.
Resize Resizes the template editing frame.
Save Extracts the current contents for the marked template sections in the live tree, and notifies the designer with the updated contents for the individual templates.
Show Toggle the visibility of the frame either by placing it in the view-linked markup or by removing it from the live tree.
ToString (inherited from DesignerVerb) Overrides object's ToString().

Protected:

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.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
OnCommandChanged (inherited from MenuCommand) Provides notification and is called in response to a CommandChanged event.

Event Hookup:

AddOnCommandChanged (inherited from MenuCommand) Allows a caller to attach an event that will be called when this command changes.
RemoveOnCommandChanged (inherited from MenuCommand) Removes a CommandChanged event handler.

See Also

TemplateEditingFrame Class | System.Web.UI.Design Namespace