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 Members

Public:

Constructor

TemplateEditingFrame Constructor Initializes a new instance of the TemplateEditingFrame class.

Properties

Checked (inherited from MenuCommand) Gets or sets a value that indicates whether this menu item is checked.
CommandID (inherited from MenuCommand) Gets the CommandID associated with this menu.
Content HTML content of the template editing frame (provided by the owner). Read-only property.
Enabled (inherited from MenuCommand) Gets or sets a value that indicates whether this menu item is available.
Name User friendly name of the template editing frame (used in the context menu). Read-only property.
OleStatus (inherited from MenuCommand) Gets the OLE command status code for this menu item.
Supported (inherited from MenuCommand) Gets or sets a value that indicates whether this menu item is supported.
TemplateNames The names of the templates contained within the frame.
Text (inherited from DesignerVerb) Gets or sets the text to show on the menu item for the verb.
Visible (inherited from MenuCommand) Gets or sets a value that indicates if this menu item is visible.

Methods

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().

Events

CommandChanged (inherited from MenuCommand) Occurs when the menu command changes.

Protected:

Methods

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:

Methods

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