ITemplateEditingFrame ITemplateEditingFrame ITemplateEditingFrame ITemplateEditingFrame Interface

Definition

Warning

This API is now obsolete.

Provides an interface to manage a template editing area.

public interface class ITemplateEditingFrame : IDisposable
[System.Obsolete("Use of this type is not recommended because template editing is handled in ControlDesigner. To support template editing expose template data in the TemplateGroups property and call SetViewFlags(ViewFlags.TemplateEditing, true). http://go.microsoft.com/fwlink/?linkid=14202")]
public interface ITemplateEditingFrame : IDisposable
type ITemplateEditingFrame = interface
    interface IDisposable
Public Interface ITemplateEditingFrame
Implements IDisposable
Attributes
Implements

Remarks

Note

The ITemplateEditingFrame interface is obsolete. Use the TemplateGroups property to access template groups, and template definitions within template groups, for a control designer.

A template editing frame represents the UI for a template editor of a templated control designer.

Properties

ControlStyle ControlStyle ControlStyle ControlStyle

Gets the style for the editing frame.

InitialHeight InitialHeight InitialHeight InitialHeight

Gets or sets the initial height of the control.

InitialWidth InitialWidth InitialWidth InitialWidth

Gets or sets the initial width of the control.

Name Name Name Name

Gets the name of the editing frame.

TemplateNames TemplateNames TemplateNames TemplateNames

Gets a set of names of templates to use.

TemplateStyles TemplateStyles TemplateStyles TemplateStyles

Gets the template styles for the control.

Verb Verb Verb Verb

Gets or sets the verb that invokes the template.

Methods

Close(Boolean) Close(Boolean) Close(Boolean) Close(Boolean)

Closes the control and optionally saves any changes.

Open() Open() Open() Open()

Opens and displays the control.

Resize(Int32, Int32) Resize(Int32, Int32) Resize(Int32, Int32) Resize(Int32, Int32)

Resizes the control to the specified width and height.

Save() Save() Save() Save()

Saves any changes to the document.

UpdateControlName(String) UpdateControlName(String) UpdateControlName(String) UpdateControlName(String)

Changes the name of the control to the specified name.

Applies to

See Also