PanelDesigner 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
The recommended alternative is PanelContainerDesigner because it uses an EditableDesignerRegion for editing the content. Designer regions allow for better control of the content being edited. http://go.microsoft.com/fwlink/?linkid=14202
提供視覺設計器 Panel 中的控制項設計時支援。
public ref class PanelDesigner : System::Web::UI::Design::ReadWriteControlDesigner
public class PanelDesigner : System.Web.UI.Design.ReadWriteControlDesigner
[System.Obsolete("The recommended alternative is PanelContainerDesigner because it uses an EditableDesignerRegion for editing the content. Designer regions allow for better control of the content being edited. http://go.microsoft.com/fwlink/?linkid=14202")]
public class PanelDesigner : System.Web.UI.Design.ReadWriteControlDesigner
type PanelDesigner = class
inherit ReadWriteControlDesigner
[<System.Obsolete("The recommended alternative is PanelContainerDesigner because it uses an EditableDesignerRegion for editing the content. Designer regions allow for better control of the content being edited. http://go.microsoft.com/fwlink/?linkid=14202")>]
type PanelDesigner = class
inherit ReadWriteControlDesigner
Public Class PanelDesigner
Inherits ReadWriteControlDesigner
- 繼承
- 屬性
備註
Panel控制項被用作其他控制項的容器,特別是當控制項是以程式方式產生時。
該 PanelDesigner 類別提供視覺設計器中控制項的設計時支援 Panel 。 然而,對於所有新的面板控制實作,請使用 the PanelContainerDesigner 代替 PanelDesigner。
在視覺設計器中,當你從原始碼視圖切換到設計視圖時,描述相關 Panel 控制項的標記原始碼會被解析,並在設計表面建立設計時版本的控制項。 當你切回原始碼檢視時,設計時的控制項會持續用於標記原始碼,並被編輯到網頁的標記中。
此方法將 MapPropertyToStyle 指定的屬性與值映射到指定的標記樣式。 當行為附加到設計器時,該 OnBehaviorAttached 方法會提供通知。
建構函式
| 名稱 | Description |
|---|---|
| PanelDesigner() |
已淘汰.
初始化 PanelDesigner 類別的新執行個體。 |
屬性
| 名稱 | Description |
|---|---|
| ActionLists |
已淘汰.
取得控制設計器的動作清單集合。 (繼承來源 ControlDesigner) |
| AllowResize |
已淘汰.
會獲得一個值,表示控制項是否能在設計時環境中調整大小。 (繼承來源 ControlDesigner) |
| AssociatedComponents |
已淘汰.
取得設計師管理的與該元件相關的元件集合。 (繼承來源 ComponentDesigner) |
| AutoFormats |
已淘汰.
取得預設自動格式化方案集合,於設計時顯示於相關控制項的 自動格式 化對話框中。 (繼承來源 ControlDesigner) |
| Behavior |
已淘汰.
取得或設定與設計器相關的 DHTML 行為。 (繼承來源 HtmlControlDesigner) |
| Component |
已淘汰.
取得設計師正在設計的元件。 (繼承來源 ComponentDesigner) |
| DataBindings |
已淘汰.
取得目前控制項的資料綁定收集。 (繼承來源 HtmlControlDesigner) |
| DataBindingsEnabled |
已淘汰.
取得一個值,表示相關控制項的包含區域是否支援資料綁定。 (繼承來源 ControlDesigner) |
| DesignerState |
已淘汰.
取得一個物件,用於在設計時持久化相關控制項的資料。 (繼承來源 ControlDesigner) |
| DesignTimeElement |
已淘汰.
取得代表該物件在設計表面上所關聯 HtmlControlDesigner 控制項的設計時物件。 (繼承來源 HtmlControlDesigner) |
| DesignTimeElementView |
已淘汰.
取得控制設計器的視控物件。 (繼承來源 ControlDesigner) |
| DesignTimeHtmlRequiresLoadComplete |
已淘汰.
會取得一個值,表示設計主機是否必須完成載入才能呼叫該 GetDesignTimeHtml 方法。 (繼承來源 ControlDesigner) |
| Expressions |
已淘汰.
在設計時取得目前控制項的表達式綁定。 (繼承來源 HtmlControlDesigner) |
| HidePropertiesInTemplateMode |
已淘汰.
會取得一個值,表示當控制項處於模板模式時,相關控制項的屬性是否被隱藏。 (繼承來源 ControlDesigner) |
| ID |
已淘汰.
取得或設定控制項的 ID 字串。 (繼承來源 ControlDesigner) |
| InheritanceAttribute |
已淘汰.
會獲得一個屬性,表示相關元件繼承的類型。 (繼承來源 ComponentDesigner) |
| Inherited |
已淘汰.
會得到一個值,表示該元件是否為繼承。 (繼承來源 ComponentDesigner) |
| InTemplateMode |
已淘汰.
會獲得一個值,表示控制項在設計主機中是處於範本檢視模式還是編輯模式。 該 InTemplateMode 屬性為唯讀。 (繼承來源 ControlDesigner) |
| IsDirty |
已淘汰.
取得或設定一個值,表示網頁伺服器控制項是否被標記為變更。 (繼承來源 ControlDesigner) |
| ParentComponent |
已淘汰.
取得這個設計器的父元件。 (繼承來源 ComponentDesigner) |
| ReadOnly |
已淘汰.
取得或設定一個值,表示控制項屬性在設計時是否為唯讀。 (繼承來源 ControlDesigner) |
| RootDesigner |
已淘汰.
取得包含相關控制項的網頁表單頁面的控制項設計器。 (繼承來源 ControlDesigner) |
| ShadowProperties |
已淘汰.
會取得一組屬性值,覆蓋使用者設定。 (繼承來源 ComponentDesigner) |
| ShouldCodeSerialize |
已淘汰.
在序列化過程中,會取得或設定一個值,指示是否要在目前設計文件的程式碼背後檔案中為控制項建立欄位宣告。 (繼承來源 HtmlControlDesigner) |
| Tag |
已淘汰.
取得一個代表相關控制項 HTML 標記元素的物件。 (繼承來源 ControlDesigner) |
| TemplateGroups |
已淘汰.
獲得一組模板群組,每個群組包含一個或多個範本定義。 (繼承來源 ControlDesigner) |
| UsePreviewControl |
已淘汰.
會取得一個值,指示控制項設計者是否使用暫存預覽控制來產生設計時的 HTML 標記。 (繼承來源 ControlDesigner) |
| Verbs |
已淘汰.
取得與設計者相關元件所支援的設計時動詞。 (繼承來源 ComponentDesigner) |
| ViewControl |
已淘汰.
取得或設定一個網頁伺服器控制項,可用於預覽設計時的 HTML 標記。 (繼承來源 ControlDesigner) |
| ViewControlCreated |
已淘汰.
取得或設定一個值,指示是否 |
| Visible |
已淘汰.
會獲得一個值,表示該控制點在設計時是否可見。 (繼承來源 ControlDesigner) |
方法
明確介面實作
| 名稱 | Description |
|---|---|
| IDesignerFilter.PostFilterAttributes(IDictionary) |
已淘汰.
關於此成員的描述,請參見方法。PostFilterAttributes(IDictionary) (繼承來源 ComponentDesigner) |
| IDesignerFilter.PostFilterEvents(IDictionary) |
已淘汰.
關於此成員的描述,請參見方法。PostFilterEvents(IDictionary) (繼承來源 ComponentDesigner) |
| IDesignerFilter.PostFilterProperties(IDictionary) |
已淘汰.
關於此成員的描述,請參見方法。PostFilterProperties(IDictionary) (繼承來源 ComponentDesigner) |
| IDesignerFilter.PreFilterAttributes(IDictionary) |
已淘汰.
關於此成員的描述,請參見方法。PreFilterAttributes(IDictionary) (繼承來源 ComponentDesigner) |
| IDesignerFilter.PreFilterEvents(IDictionary) |
已淘汰.
關於此成員的描述,請參見方法。PreFilterEvents(IDictionary) (繼承來源 ComponentDesigner) |
| IDesignerFilter.PreFilterProperties(IDictionary) |
已淘汰.
關於此成員的描述,請參見方法。PreFilterProperties(IDictionary) (繼承來源 ComponentDesigner) |
| ITreeDesigner.Children |
已淘汰.
關於此成員的描述,請參見 Children 該物業。 (繼承來源 ComponentDesigner) |
| ITreeDesigner.Parent |
已淘汰.
關於此成員的描述,請參見 Parent 該物業。 (繼承來源 ComponentDesigner) |