ITemplateEditingService Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기