TemplatedControlDesigner.ExitTemplateMode(Boolean, Boolean, Boolean) Metode
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 method 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
Menutup bingkai pengeditan templat yang saat ini aktif setelah menyimpan perubahan yang relevan.
public:
void ExitTemplateMode(bool fSwitchingTemplates, bool fNested, bool fSave);
public void ExitTemplateMode(bool fSwitchingTemplates, bool fNested, bool fSave);
[System.Obsolete("Use of this method 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 void ExitTemplateMode(bool fSwitchingTemplates, bool fNested, bool fSave);
member this.ExitTemplateMode : bool * bool * bool -> unit
[<System.Obsolete("Use of this method 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")>]
member this.ExitTemplateMode : bool * bool * bool -> unit
Public Sub ExitTemplateMode (fSwitchingTemplates As Boolean, fNested As Boolean, fSave As Boolean)
Parameter
- fSwitchingTemplates
- Boolean
true saat beralih dari satu bingkai pengeditan templat ke bingkai lainnya; jika tidak false.
- fNested
- Boolean
true jika perancang ini berlapis (satu atau beberapa tingkat) dalam kontrol lain yang perancangnya juga berada dalam mode pengeditan templat; jika tidak false.
- fSave
- Boolean
true jika templat harus disimpan saat keluar; jika tidak, false.
- Atribut
Keterangan
Nota
Metode ExitTemplateMode ini usang. TemplateGroups Gunakan properti untuk memanipulasi templat dalam perancang untuk kontrol berbasis templat.