TemplateEditingService Class

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 services for editing control templates at design time. This class cannot be inherited.

This API supports the product infrastructure and is not intended to be used directly from your code.

public ref class TemplateEditingService sealed : IDisposable, System::Web::UI::Design::ITemplateEditingService
public sealed class TemplateEditingService : IDisposable, System.Web.UI.Design.ITemplateEditingService
[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 sealed class TemplateEditingService : IDisposable, System.Web.UI.Design.ITemplateEditingService
type TemplateEditingService = class
    interface ITemplateEditingService
    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 TemplateEditingService = class
    interface ITemplateEditingService
    interface IDisposable
Public NotInheritable Class TemplateEditingService
Implements IDisposable, ITemplateEditingService
Inheritance
TemplateEditingService
Attributes
Implements

Remarks

Note

The TemplateEditingService class is obsolete. Expose templates through the TemplateGroups property of a control designer. The design host creates a TemplatedEditableDesignerRegion object for each TemplateDefinition in each TemplateGroup that is defined for a control designer.

Constructors

TemplateEditingService(IDesignerHost)

This API supports the product infrastructure and is not intended to be used directly from your code.

Initializes a new instance of the TemplateEditingService class with the specified designer host.

Properties

SupportsNestedTemplateEditing

This API supports the product infrastructure and is not intended to be used directly from your code.

Gets a value that indicates whether the service supports nested template editing.

Methods

CreateFrame(TemplatedControlDesigner, String, String[])

This API supports the product infrastructure and is not intended to be used directly from your code.

Creates a new template editing frame for the specified templated control designer, using the specified name and templates.

CreateFrame(TemplatedControlDesigner, String, String[], Style, Style[])

This API supports the product infrastructure and is not intended to be used directly from your code.

Creates a new template editing frame for the specified TemplatedControlDesigner object, using the specified name, template names, control style, and template styles.

Dispose()

This API supports the product infrastructure and is not intended to be used directly from your code.

Releases all resources that are used by the TemplateEditingService object.

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
Finalize()

This API supports the product infrastructure and is not intended to be used directly from your code.

Finalizes the service.

GetContainingTemplateName(Control)

This API supports the product infrastructure and is not intended to be used directly from your code.

Gets the name of the parent template.

GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also