ITemplateEditingFrame 介面

定義

警告

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 class ITemplateEditingFrame : IDisposable
public interface ITemplateEditingFrame : IDisposable
[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 ITemplateEditingFrame : IDisposable
type ITemplateEditingFrame = interface
    interface IDisposable
[<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 ITemplateEditingFrame = interface
    interface IDisposable
Public Interface ITemplateEditingFrame
Implements IDisposable
屬性
實作

備註

注意

ITemplateEditingFrame 介面已經過時。 您 TemplateGroups 可以使用屬性來存取控制項設計工具的範本群組,以及範本群組內的範本定義。

範本編輯方塊架表示樣板化控制項設計工具之範本編輯器的 UI。

屬性

ControlStyle

取得編輯框架的樣式。

InitialHeight

取得或設定控制項的初始高度。

InitialWidth

取得或設定控制項的初始寬度。

Name

取得編輯框架的名稱。

TemplateNames

取得要使用的樣板名稱集合。

TemplateStyles

取得控制項的樣板樣式。

Verb

取得或設定叫用樣板的動作 (Verb)。

方法

Close(Boolean)

關閉控制項並選擇是否要儲存任何的變更。

Dispose()

執行與釋放 (Free)、釋放 (Release) 或重設 Unmanaged 資源相關聯之應用程式定義的工作。

(繼承來源 IDisposable)
Open()

開啟並顯示控制項。

Resize(Int32, Int32)

將控制項調整為指定的寬度和高度。

Save()

儲存對文件所作的任何變更。

UpdateControlName(String)

將控制項名稱變更為指定的名稱。

適用於

另請參閱