語言

TemplatedControlDesigner 類別

定義

擴充基於範本的伺服器控制的設計時行為。

public ref class TemplatedControlDesigner abstract : System::Web::UI::Design::ControlDesigner
public abstract class TemplatedControlDesigner : System.Web.UI.Design.ControlDesigner
type TemplatedControlDesigner = class
    inherit ControlDesigner
Public MustInherit Class TemplatedControlDesigner
Inherits ControlDesigner
繼承
衍生

範例

以下程式碼範例示範如何建立一個控制設計類別,該類別使用範本並衍生於該 ControlDesigner 類別。

要執行範例、編譯程式碼,然後在像 Visual Studio 2005 這樣的設計主機中,在設計檢視中查看該頁面。 選擇控制項,點選動作清單選擇要修改的範本,然後用拖放功能將控制項移入範本。

Note

你的專案必須有組件的 System.Design 參考。

using System;
using System.ComponentModel;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.Design;

namespace ASPNet.Design.Samples
{
    // Set an attribute reference to the designer, and define 
    // the HTML markup that the toolbox will write into the source.
    [Designer(typeof(TemplateGroupsSampleDesigner)),
        ToolboxData("<{0}:TemplateGroupsSample runat=server></{0}:TemplateGroupsSample>")]
    public sealed class TemplateGroupsSample : WebControl, INamingContainer
    {
        // Field for the templates
        private ITemplate[] _templates;

        // Constructor
        public TemplateGroupsSample()
        {
            _templates = new ITemplate[4];
        }

        // For each template property, set the designer attributes 
        // so the property does not appear in the property grid, but 
        // changes to the template are persisted in the control.
        [Browsable(false),
            PersistenceMode(PersistenceMode.InnerProperty)]
        public ITemplate Template1
        {
            get { return _templates[0]; }
            set { _templates[0] = value; }
        }
        [Browsable(false),
            PersistenceMode(PersistenceMode.InnerProperty)]
        public ITemplate Template2
        {
            get { return _templates[1]; }
            set { _templates[1] = value; }
        }
        [Browsable(false),
            PersistenceMode(PersistenceMode.InnerProperty)]
        public ITemplate Template3
        {
            get { return _templates[2]; }
            set { _templates[2] = value; }
        }
        [Browsable(false),
            PersistenceMode(PersistenceMode.InnerProperty)]
        public ITemplate Template4
        {
            get { return _templates[3]; }
            set { _templates[3] = value; }
        }

        protected override void CreateChildControls()
        {
            // Instantiate each template inside a panel
            // then add the panel to the Controls collection
            for (int i = 0; i < 4; i++)
            {
                Panel pan = new Panel();
                _templates[i].InstantiateIn(pan);
                this.Controls.Add(pan);
            }
        }
    }

    // Designer for the TemplateGroupsSample control
    public class TemplateGroupsSampleDesigner : ControlDesigner
    {
        TemplateGroupCollection col = null;

        public override void Initialize(IComponent component)
        {
            // Initialize the base
            base.Initialize(component);
            // Turn on template editing
            SetViewFlags(ViewFlags.TemplateEditing, true);
        }

        // Add instructions to the placeholder view of the control
        public override string GetDesignTimeHtml()
        {
            return CreatePlaceHolderDesignTimeHtml("Click here and use " +
                "the task menu to edit the templates.");
        }

        public override TemplateGroupCollection TemplateGroups
        {
            get
            {

                if (col == null)
                {
                    // Get the base collection
                    col = base.TemplateGroups;

                    // Create variables
                    TemplateGroup tempGroup;
                    TemplateDefinition tempDef;
                    TemplateGroupsSample ctl;

                    // Get reference to the component as TemplateGroupsSample
                    ctl = (TemplateGroupsSample)Component;

                    // Create a TemplateGroup
                    tempGroup = new TemplateGroup("Template Set A");

                    // Create a TemplateDefinition
                    tempDef = new TemplateDefinition(this, "Template A1", 
                        ctl, "Template1", true);

                    // Add the TemplateDefinition to the TemplateGroup
                    tempGroup.AddTemplateDefinition(tempDef);

                    // Create another TemplateDefinition
                    tempDef = new TemplateDefinition(this, "Template A2", 
                        ctl, "Template2", true);

                    // Add the TemplateDefinition to the TemplateGroup
                    tempGroup.AddTemplateDefinition(tempDef);

                    // Add the TemplateGroup to the TemplateGroupCollection
                    col.Add(tempGroup);

                    // Create another TemplateGroup and populate it
                    tempGroup = new TemplateGroup("Template Set B");
                    tempDef = new TemplateDefinition(this, "Template B1", 
                        ctl, "Template3", true);
                    tempGroup.AddTemplateDefinition(tempDef);
                    tempDef = new TemplateDefinition(this, "Template B2", 
                        ctl, "Template4", true);
                    tempGroup.AddTemplateDefinition(tempDef);

                    // Add the TemplateGroup to the TemplateGroupCollection
                    col.Add(tempGroup);
                }

                return col;
            }
        }

        // Do not allow direct resizing unless in TemplateMode
        public override bool AllowResize
        {
            get
            {
                if (this.InTemplateMode)
                    return true;
                else
                    return false;
            }
        }
    }
}
Imports System.ComponentModel
Imports System.Web.UI
Imports System.Web.UI.WebControls
Imports System.Web.UI.Design

Namespace ASPNet.Design.Samples

    ' Set an attribute reference to the designer, and define 
    ' the HTML markup that the toolbox will write into the source.
    <Designer(GetType(TemplateGroupsSampleDesigner)), _
        ToolboxData("<{0}:TemplateGroupsSample runat=server></{0}:TemplateGroupsSample>")> _
    Public Class TemplateGroupsSample
        Inherits WebControl
        Implements INamingContainer

        ' Field for the templates
        Private _templates() As ITemplate

        ' Constructor
        Public Sub New()
            ReDim _templates(4)
        End Sub

        ' For each template property, set the designer attributes 
        ' so the property does not appear in the property grid, but 
        ' changes to the template are persisted in the control.
        <Browsable(False), _
            PersistenceMode(PersistenceMode.InnerProperty)> _
        Public Property Template1() As ITemplate
            Get
                Return _templates(0)
            End Get
            Set(ByVal Value As ITemplate)
                _templates(0) = Value
            End Set
        End Property
        <Browsable(False), _
            PersistenceMode(PersistenceMode.InnerProperty)> _
        Public Property Template2() As ITemplate
            Get
                Return _templates(1)
            End Get
            Set(ByVal Value As ITemplate)
                _templates(1) = Value
            End Set
        End Property
        <Browsable(False), _
            PersistenceMode(PersistenceMode.InnerProperty)> _
        Public Property Template3() As ITemplate
            Get
                Return _templates(2)
            End Get
            Set(ByVal Value As ITemplate)
                _templates(2) = Value
            End Set
        End Property
        <Browsable(False), _
            PersistenceMode(PersistenceMode.InnerProperty)> _
        Public Property Template4() As ITemplate
            Get
                Return _templates(3)
            End Get
            Set(ByVal Value As ITemplate)
                _templates(3) = Value
            End Set
        End Property

        Protected Overrides Sub CreateChildControls()
            ' Instantiate the template inside the panel
            ' then add the panel to the Controls collection
            Dim i As Integer

            For i = 0 To 3
                Dim pan As New Panel()
                _templates(i).InstantiateIn(pan)
                Me.Controls.Add(pan)
            Next
        End Sub

    End Class

    ' Designer for the TemplateGroupsSample class
    Public Class TemplateGroupsSampleDesigner
        Inherits System.Web.UI.Design.ControlDesigner

        Private col As TemplateGroupCollection = Nothing

        Public Overrides Sub Initialize(ByVal Component As IComponent)
            ' Initialize the base
            MyBase.Initialize(Component)
            ' Turn on template editing
            SetViewFlags(ViewFlags.TemplateEditing, True)
        End Sub

        ' Add instructions to the placeholder view of the control
        Public Overloads Overrides Function GetDesignTimeHtml() As String
            Return CreatePlaceHolderDesignTimeHtml("Click here and use " & _
                "the task menu to edit the templates.")
        End Function

        Public Overrides ReadOnly Property TemplateGroups() As TemplateGroupCollection
            Get
                If IsNothing(col) Then
                    ' Get the base collection
                    col = MyBase.TemplateGroups

                    ' Create variables
                    Dim tempGroup As TemplateGroup
                    Dim tempDef As TemplateDefinition
                    Dim ctl As TemplateGroupsSample

                    ' Get reference to the component as TemplateGroupsSample
                    ctl = CType(Component, TemplateGroupsSample)

                    ' Create a TemplateGroup
                    tempGroup = New TemplateGroup("Template Set A")

                    ' Create a TemplateDefinition
                    tempDef = New TemplateDefinition(Me, "Template A1", ctl, "Template1", True)

                    ' Add the TemplateDefinition to the TemplateGroup
                    tempGroup.AddTemplateDefinition(tempDef)

                    ' Create another TemplateDefinition
                    tempDef = New TemplateDefinition(Me, "Template A2", ctl, "Template2", True)

                    ' Add the TemplateDefinition to the TemplateGroup
                    tempGroup.AddTemplateDefinition(tempDef)

                    ' Add the TemplateGroup to the TemplateGroupCollection
                    col.Add(tempGroup)

                    ' Create another TemplateGroup and populate it
                    tempGroup = New TemplateGroup("Template Set B")
                    tempDef = New TemplateDefinition(Me, "Template B1", ctl, "Template3", True)
                    tempGroup.AddTemplateDefinition(tempDef)
                    tempDef = New TemplateDefinition(Me, "Template B2", ctl, "Template4", True)
                    tempGroup.AddTemplateDefinition(tempDef)

                    ' Add the TemplateGroup to the TemplateGroupCollection
                    col.Add(tempGroup)
                End If

                Return col
            End Get
        End Property

        ' Do not allow direct resizing unless in TemplateMode
        Public Overrides ReadOnly Property AllowResize() As Boolean
            Get
                If Me.InTemplateMode Then
                    Return True
                Else
                    Return False
                End If
            End Get
        End Property
    End Class
End Namespace
<%@ Page Language="VB" %>
<%@ Register TagPrefix="aspSample" 
    Namespace="ASPNet.Design.Samples" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
       <aspSample:TemplateGroupsSample runat="server" ID="TGSample1">
       </aspSample:TemplateGroupsSample>
    
    </div>
    </form>
</body>
</html>

給實施者的注意事項

雖然此類別並非過時,但因為模板編輯功能已內建於 ControlDesigner。

建構函式

名稱 Description
TemplatedControlDesigner()

初始化 TemplatedControlDesigner 類別的新執行個體。

屬性

名稱 Description
ActionLists

取得控制設計器的動作清單集合。

(繼承來源 ControlDesigner)
ActiveTemplateEditingFrame
已淘汰.

取得活躍的模板編輯框架。

AllowResize

會獲得一個值,表示控制項是否能在設計時環境中調整大小。

(繼承來源 ControlDesigner)
AssociatedComponents

取得設計師管理的與該元件相關的元件集合。

(繼承來源 ComponentDesigner)
AutoFormats

取得預設自動格式化方案集合,於設計時顯示於相關控制項的 自動格式 化對話框中。

(繼承來源 ControlDesigner)
Behavior
已淘汰.

取得或設定與設計器相關的 DHTML 行為。

(繼承來源 HtmlControlDesigner)
CanEnterTemplateMode

會有一個值,表示該設計師是否允許查看或編輯範本。

Component

取得設計師正在設計的元件。

(繼承來源 ComponentDesigner)
DataBindings

取得目前控制項的資料綁定收集。

(繼承來源 HtmlControlDesigner)
DataBindingsEnabled

會得到一個值,表示設計者是否允許資料綁定。

DesignerState

取得一個物件,用於在設計時持久化相關控制項的資料。

(繼承來源 ControlDesigner)
DesignTimeElement
已淘汰.

取得代表該物件在設計表面上所關聯 HtmlControlDesigner 控制項的設計時物件。

(繼承來源 HtmlControlDesigner)
DesignTimeElementView
已淘汰.

取得控制設計器的視控物件。

(繼承來源 ControlDesigner)
DesignTimeHtmlRequiresLoadComplete
已淘汰.

會取得一個值,表示設計主機是否必須完成載入才能呼叫該 GetDesignTimeHtml 方法。

(繼承來源 ControlDesigner)
Expressions

在設計時取得目前控制項的表達式綁定。

(繼承來源 HtmlControlDesigner)
HidePropertiesInTemplateMode

會取得一個值,表示當控制項進入範本編輯模式時,控制項的屬性是否會被隱藏。

HidePropertiesInTemplateMode

會取得一個值,表示當控制項處於模板模式時,相關控制項的屬性是否被隱藏。

(繼承來源 ControlDesigner)
ID

取得或設定控制項的 ID 字串。

(繼承來源 ControlDesigner)
InheritanceAttribute

會獲得一個屬性,表示相關元件繼承的類型。

(繼承來源 ComponentDesigner)
Inherited

會得到一個值,表示該元件是否為繼承。

(繼承來源 ComponentDesigner)
InTemplateMode
已淘汰.

會取得一個值,表示設計器文件是否處於範本模式。

IsDirty
已淘汰.

取得或設定一個值,表示網頁伺服器控制項是否被標記為變更。

(繼承來源 ControlDesigner)
ParentComponent

取得這個設計器的父元件。

(繼承來源 ComponentDesigner)
ReadOnly
已淘汰.

取得或設定一個值,表示控制項屬性在設計時是否為唯讀。

(繼承來源 ControlDesigner)
RootDesigner

取得包含相關控制項的網頁表單頁面的控制項設計器。

(繼承來源 ControlDesigner)
ShadowProperties

會取得一組屬性值,覆蓋使用者設定。

(繼承來源 ComponentDesigner)
ShouldCodeSerialize
已淘汰.

在序列化過程中,會取得或設定一個值,指示是否要在目前設計文件的程式碼背後檔案中為控制項建立欄位宣告。

(繼承來源 HtmlControlDesigner)
Tag

取得一個代表相關控制項 HTML 標記元素的物件。

(繼承來源 ControlDesigner)
TemplateGroups

會得到一組模板群組,每個群組都包含一個範本定義。

UsePreviewControl

會取得一個值,指示控制項設計者是否使用暫存預覽控制來產生設計時的 HTML 標記。

(繼承來源 ControlDesigner)
Verbs

取得與設計者相關元件所支援的設計時動詞。

(繼承來源 ComponentDesigner)
ViewControl

取得或設定一個網頁伺服器控制項,可用於預覽設計時的 HTML 標記。

(繼承來源 ControlDesigner)
ViewControlCreated

取得或設定一個值,指示是否 View 已建立控制項以顯示於設計表面。

(繼承來源 ControlDesigner)
Visible

會獲得一個值,表示該控制點在設計時是否可見。

(繼承來源 ControlDesigner)

方法

名稱 Description
CreateErrorDesignTimeHtml(String, Exception)

建立 HTML 標記,在設計時顯示指定的例外錯誤訊息。

(繼承來源 ControlDesigner)
CreateErrorDesignTimeHtml(String)

建立 HTML 標記,在設計時顯示指定的錯誤訊息。

(繼承來源 ControlDesigner)
CreatePlaceHolderDesignTimeHtml()

提供簡單的矩形佔位符號表示,顯示控制項的類型與 ID。

(繼承來源 ControlDesigner)
CreatePlaceHolderDesignTimeHtml(String)

提供簡單的矩形佔位符號表示,顯示控制項的類型與 ID,以及額外指定的指令或資訊。

(繼承來源 ControlDesigner)
CreateTemplateEditingFrame(TemplateEditingVerb)
已淘汰.

當在派生類別中覆寫時,會為指定動詞建立一個範本編輯框架。

CreateViewControl()

回傳相關控制項的副本,用於在設計表面上檢視或渲染。

(繼承來源 ControlDesigner)
Dispose()

釋放 ComponentDesigner所使用的所有資源。

(繼承來源 ComponentDesigner)
Dispose(Boolean)

釋放物件使用的 HtmlControlDesigner 非管理資源,並可選擇性地釋放受管理資源。

(繼承來源 HtmlControlDesigner)
DoDefaultAction()

在原始碼檔案中為元件的預設事件建立方法簽章,並引導使用者游標到該位置。

(繼承來源 ComponentDesigner)
EnterTemplateMode(ITemplateEditingFrame)
已淘汰.

在設計器中開啟特定的模板框架物件以便編輯。

Equals(Object)

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
ExitTemplateMode(Boolean, Boolean, Boolean)
已淘汰.

儲存所有相關變更後,關閉目前啟用的模板編輯框。

GetBounds()

取得代表控制點邊界的矩形座標,該矩形在設計表面上顯示。

(繼承來源 ControlDesigner)
GetCachedTemplateEditingVerbs()
已淘汰.

能取得快取的範本編輯動詞。

GetDesignTimeHtml()

擷取設計時用來表示控制項的 HTML 標記。

(繼承來源 ControlDesigner)
GetDesignTimeHtml(DesignerRegionCollection)

取得 HTML 標記以顯示控制項,並將目前控制項設計區域填充集合。

(繼承來源 ControlDesigner)
GetEditableDesignerRegionContent(EditableDesignerRegion)

回傳可編輯區域中可編輯的相關控制項。

(繼承來源 ControlDesigner)
GetEmptyDesignTimeHtml()

取得 HTML 標記,以表示設計時的網頁伺服器控制項,執行時不會有視覺化表示。

(繼承來源 ControlDesigner)
GetErrorDesignTimeHtml(Exception)

取得提供指定例外資訊的 HTML 標記。

(繼承來源 ControlDesigner)
GetHashCode()

做為預設哈希函式。

(繼承來源 Object)
GetPersistenceContent()

在設計時擷取控制項的持久性內部 HTML 標記。

(繼承來源 ControlDesigner)
GetPersistInnerHtml()

它會讓標記持續存在於相關伺服器控制執行時的內容。

GetPersistInnerHtml()
已淘汰.

取得控制項的持久性內部 HTML 標記。

(繼承來源 ControlDesigner)
GetService(Type)

嘗試從設計者元件的設計模式網站擷取指定類型的服務。

(繼承來源 ComponentDesigner)
GetTemplateContainerDataItemProperty(String)
已淘汰.

取得範本容器的資料項目屬性。

GetTemplateContainerDataSource(String)
已淘汰.

取得範本容器的資料來源。

GetTemplateContent(ITemplateEditingFrame, String, Boolean)
已淘汰.

當在衍生類別中覆寫時,會取得範本的內容。

GetTemplateEditingVerbs()
已淘汰.

提供範本編輯動詞供設計者使用。

GetTemplateFromText(String)

從指定的文字建立範本。

GetTemplatePropertyParentType(String)
已淘汰.

取得範本屬性父型的類型。

GetTextFromTemplate(ITemplate)

會取得一串代表指定範本的文字串。

GetType()

取得目前實例的 Type。

(繼承來源 Object)
GetViewRendering()

擷取包含相關控制項內容及區域設計時標記的物件。

(繼承來源 ControlDesigner)
Initialize(IComponent)

初始化設計器並載入指定的元件。

Initialize(IComponent)

初始化控制設計器並載入指定的元件。

(繼承來源 ControlDesigner)
InitializeExistingComponent(IDictionary)

重新初始化現有元件。

(繼承來源 ComponentDesigner)
InitializeNewComponent(IDictionary)

初始化新建立的元件。

(繼承來源 ComponentDesigner)
InitializeNonDefault()
已淘汰.
已淘汰.

初始化已初始化為非預設設定的匯入元件的設定。

(繼承來源 ComponentDesigner)
Invalidate()

會使設計表面上顯示的整個控制區域失效,並指示控制設計師重新繪製控制控制。

(繼承來源 ControlDesigner)
Invalidate(Rectangle)

使顯示在設計表面上的控制區域失效,並指示控制設計師重新繪製控制控制。

(繼承來源 ControlDesigner)
InvokeGetInheritanceAttribute(ComponentDesigner)

得到 InheritanceAttribute 指定的 ComponentDesigner。

(繼承來源 ComponentDesigner)
IsPropertyBound(String)
已淘汰.

擷取一個值,指示相關控制項上的指定屬性是否為資料綁定。

(繼承來源 ControlDesigner)
Localize(IDesignTimeResourceWriter)

利用提供的資源寫入器,將相關控制項的可區域化屬性持久化至設計主機中的資源。

(繼承來源 ControlDesigner)
MemberwiseClone()

建立目前 Object的淺層複本。

(繼承來源 Object)
OnAutoFormatApplied(DesignerAutoFormat)

當已對相關控制項套用預先定義的自動格式化方案時,會呼叫此系統。

(繼承來源 ControlDesigner)
OnBehaviorAttached()
已淘汰.

當行為附加於設計者時,提供執行額外處理的機會。

OnBehaviorDetaching()
已淘汰.

當行為與元素分離時被召喚。

(繼承來源 HtmlControlDesigner)
OnBindingsCollectionChanged(String)
已淘汰.

當資料綁定集合變更時會被呼叫。

(繼承來源 ControlDesigner)
OnClick(DesignerRegionMouseEventArgs)

當使用者在設計時點擊相關控制項時,設計主機會呼叫此功能。

(繼承來源 ControlDesigner)
OnComponentChanged(Object, ComponentChangedEventArgs)

委託人處理元件變更事件。

OnComponentChanging(Object, ComponentChangingEventArgs)

代表將 ComponentChanging 處理相關控制項事件的方法。

(繼承來源 ControlDesigner)
OnControlResize()
已淘汰.

當設計主機在設計時調整了相關的網頁伺服器控制項時,會呼叫。

(繼承來源 ControlDesigner)
OnPaint(PaintEventArgs)

當控制設計者在設計表面繪製相關控制項時,若值 CustomPaint 為 true,則呼叫 。

(繼承來源 ControlDesigner)
OnSetComponentDefaults()
已淘汰.
已淘汰.

設定元件的預設屬性。

(繼承來源 ComponentDesigner)
OnSetParent()

當該設計器的父程式變更時,提供執行額外處理的機會。

OnTemplateModeChanged()

當範本模式改變時,提供執行額外處理的機會。

PostFilterAttributes(IDictionary)

允許設計者更改或移除其透過 TypeDescriptor.

(繼承來源 ComponentDesigner)
PostFilterEvents(IDictionary)

允許設計者更改或移除透過 TypeDescriptor.

(繼承來源 ComponentDesigner)
PostFilterProperties(IDictionary)

允許設計者更改或移除透過 TypeDescriptor.

(繼承來源 ComponentDesigner)
PreFilterAttributes(IDictionary)

允許設計者透過 . 來擴充其所暴露 TypeDescriptor的屬性集合。

(繼承來源 ComponentDesigner)
PreFilterEvents(IDictionary)

設定元件物件在設計時 TypeDescriptor 會被暴露的事件清單。

(繼承來源 HtmlControlDesigner)
PreFilterProperties(IDictionary)

允許設計師透過物件過濾其所設計 TypeDescriptor 元件的成員屬性集合。

PreFilterProperties(IDictionary)

在設計時新增或移除設計主機的屬性網格中的屬性,或提供可能對應於相關控制項屬性的新設計時屬性。

(繼承來源 ControlDesigner)
RaiseComponentChanged(MemberDescriptor, Object, Object)

通知該 IComponentChangeService 元件已被更改。

(繼承來源 ComponentDesigner)
RaiseComponentChanging(MemberDescriptor)

通知該 IComponentChangeService 元件即將被更改。

(繼承來源 ComponentDesigner)
RaiseResizeEvent()
已淘汰.

引發 OnControlResize() 事件。

(繼承來源 ControlDesigner)
RegisterClone(Object, Object)

將內部資料登錄在克隆控制中。

(繼承來源 ControlDesigner)
SaveActiveTemplateEditingFrame()

儲存了正在進行的模板編輯框架。

SetEditableDesignerRegionContent(EditableDesignerRegion, String)

指定設計時控制項可編輯區域的內容。

(繼承來源 ControlDesigner)
SetRegionContent(EditableDesignerRegion, String)

在控制項設計時視圖中指定可編輯區域的內容。

(繼承來源 ControlDesigner)
SetTemplateContent(ITemplateEditingFrame, String, String)
已淘汰.

當在派生類別中覆寫時,會將指定模板的內容設為指定內容。

SetViewFlags(ViewFlags, Boolean)

將指定的位 ViewFlags 元列舉分配給指定的旗標值。

(繼承來源 ControlDesigner)
ToString()

傳回表示目前 物件的字串。

(繼承來源 Object)
UpdateDesignTimeHtml()

更新設計時的 HTML。

明確介面實作

名稱 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)

適用於

另請參閱