ITemplateEditingFrame Interface

Definition

Caution

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

Provides an interface to manage a template editing area.

public interface class ITemplateEditingFrame : IDisposable
public interface 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
[<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")>]
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

Gets the style for the editing frame.

InitialHeight

Gets or sets the initial height of the control.

InitialWidth

Gets or sets the initial width of the control.

Name

Gets the name of the editing frame.

TemplateNames

Gets a set of names of templates to use.

TemplateStyles

Gets the template styles for the control.

Verb

Gets or sets the verb that invokes the template.

Methods

Close(Boolean)

Closes the control and optionally saves any changes.

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

(Inherited from IDisposable)
Open()

Opens and displays the control.

Resize(Int32, Int32)

Resizes the control to the specified width and height.

Save()

Saves any changes to the document.

UpdateControlName(String)

Changes the name of the control to the specified name.

Applies to

See also