TemplateEditingService Class
TOC
Collapse the table of content
Expand the table of content

TemplateEditingService Class

 
Note: This API is now obsolete.

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

Provides services for editing control templates at design time. This class cannot be inherited.

Namespace:   System.Web.UI.Design
Assembly:  System.Design (in System.Design.dll)

System.Object
  System.Web.UI.Design.TemplateEditingService

[ObsoleteAttribute("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")]
[SecurityPermissionAttribute(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)]
public sealed class TemplateEditingService : ITemplateEditingService, 
	IDisposable

NameDescription
System_CAPS_pubmethodTemplateEditingService(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.

NameDescription
System_CAPS_pubpropertySupportsNestedTemplateEditing

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.

NameDescription
System_CAPS_pubmethodCreateFrame(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.

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

System_CAPS_pubmethodDispose()

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.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

This API supports the product infrastructure and is not intended to be used directly from your code. Finalizes the service.(Overrides Object.Finalize().)

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

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

System_CAPS_noteNote

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.

.NET Framework
Available since 1.1

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft