TemplateEditingService TemplateEditingService TemplateEditingService TemplateEditingService Class

Definition

Warning

This API is now obsolete.

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
[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
Public NotInheritable Class TemplateEditingService
Implements IDisposable, ITemplateEditingService
Inheritance
TemplateEditingServiceTemplateEditingServiceTemplateEditingServiceTemplateEditingService
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) TemplateEditingService(IDesignerHost) TemplateEditingService(IDesignerHost) TemplateEditingService(IDesignerHost)

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

Properties

SupportsNestedTemplateEditing SupportsNestedTemplateEditing SupportsNestedTemplateEditing SupportsNestedTemplateEditing

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

Methods

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

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

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

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

Dispose() Dispose() Dispose() Dispose()

Releases all resources that are used by the TemplateEditingService object.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

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

(Inherited from Object)
Finalize() Finalize() Finalize() Finalize()

Finalizes the service.

GetContainingTemplateName(Control) GetContainingTemplateName(Control) GetContainingTemplateName(Control) GetContainingTemplateName(Control)

Gets the name of the parent template.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also