ITemplateEditingService Antarmuka
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Perhatian
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
Menyediakan layanan untuk mengedit templat kontrol pada waktu desain.
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
- Turunan
- Atribut
Keterangan
Nota
Antarmuka ITemplateEditingService sudah usang. Mengekspos templat melalui TemplateGroups properti perancang kontrol. Host desain membuat TemplatedEditableDesignerRegion untuk masing-masing TemplateGroup yang ditentukan untuk perancang kontrol.
Properti
| Nama | Deskripsi |
|---|---|
| SupportsNestedTemplateEditing |
Kedaluwarsa.
Mendapatkan nilai yang menunjukkan apakah layanan mendukung pengeditan templat berlapis. |
Metode
| Nama | Deskripsi |
|---|---|
| CreateFrame(TemplatedControlDesigner, String, String[], Style, Style[]) |
Kedaluwarsa.
Membuat bingkai pengeditan templat baru untuk , menggunakan TemplatedControlDesignernama, nama templat, gaya kontrol, dan gaya templat yang ditentukan. |
| CreateFrame(TemplatedControlDesigner, String, String[]) |
Kedaluwarsa.
Membuat bingkai pengeditan templat baru untuk perancang kontrol templat yang ditentukan, menggunakan nama dan templat yang ditentukan. |
| GetContainingTemplateName(Control) |
Kedaluwarsa.
Mendapatkan nama templat induk. |