ערוך

שתף באמצעות


ITemplateEditingService 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 services for editing control templates at design time.

public interface class ITemplateEditingService
public interface 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 interface ITemplateEditingService
type ITemplateEditingService = interface
[<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 ITemplateEditingService = interface
Public Interface ITemplateEditingService
Derived
Attributes

Remarks

Note

The ITemplateEditingService interface is obsolete. Expose templates through the TemplateGroups property of a control designer. The design host creates a TemplatedEditableDesignerRegion for each TemplateGroup defined for a control designer.

Properties

SupportsNestedTemplateEditing

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

Methods

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[])

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

GetContainingTemplateName(Control)

Gets the name of the parent template.

Applies to

See also