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組み込まれているため、不要です。

コンストラクター

TemplatedControlDesigner()

TemplatedControlDesigner クラスの新しいインスタンスを初期化します。

プロパティ

ActionLists

コントロール デザイナーのアクション リスト コレクションを取得します。

(継承元 ControlDesigner)
ActiveTemplateEditingFrame
古い.

アクティブなテンプレート編集フレームを取得します。

AllowResize

デザイン時環境でコントロールのサイズを変更できるかどうかを示す値を取得します。

(継承元 ControlDesigner)
AssociatedComponents

デザイナーで管理されているコンポーネントに関連付けられているコンポーネントのコレクションを取得します。

(継承元 ComponentDesigner)
AutoFormats

関連付けられたコントロールの [オートフォーマット] ダイアログ ボックスにデザイン時に表示される定義済みの自動書式指定スキームのコレクションを取得します。

(継承元 ControlDesigner)
Behavior
古い.

デザイナーに関連付けられている DHTML 動作を取得または設定します。

(継承元 HtmlControlDesigner)
CanEnterTemplateMode

このデザイナーでテンプレートの表示や編集ができるかどうかを示す値を取得します。

Component

デザイナーがデザインするコンポーネントを取得します。

(継承元 ComponentDesigner)
DataBindings

現在のコントロールのデータ バインディング コレクションを取得します。

(継承元 HtmlControlDesigner)
DataBindingsEnabled

デザイナーがデータ バインディングを許可するかどうかを示す値を取得します。

DataBindingsEnabled

関連付けられているコントロールの格納先の領域がデータ バインディングをサポートするかどうかを示す値を取得します。

(継承元 ControlDesigner)
DesignerState

デザイン時に関連付けられているコントロールのデータを永続化するために使用するオブジェクトを取得します。

(継承元 ControlDesigner)
DesignTimeElement
古い.

デザイン サーフェイスの HtmlControlDesigner オブジェクトと関連付けられているコントロールを表すデザイン時オブジェクトを取得します。

(継承元 HtmlControlDesigner)
DesignTimeElementView
古い.

コントロール デザイナーのビュー コントロール オブジェクトを取得します。

(継承元 ControlDesigner)
DesignTimeHtmlRequiresLoadComplete
古い.

デザイン ホストが読み込みを完了しないと GetDesignTimeHtml メソッドを呼び出すことができないかどうかを示す値を取得します。

(継承元 ControlDesigner)
Expressions

現在のコントロールの式バインディングをデザイン時に取得します。

(継承元 HtmlControlDesigner)
HidePropertiesInTemplateMode

コントロールがテンプレート編集モードになったときに、コントロールのプロパティを非表示にするかどうかを示す値を取得します。

HidePropertiesInTemplateMode

コントロールがテンプレート モードのときに関連付けられているコントロールのプロパティが非表示に設定されるかどうかを示す値を取得します。

(継承元 ControlDesigner)
ID

コントロールの ID 文字列を取得または設定します。

(継承元 ControlDesigner)
InheritanceAttribute

関連付けられているコンポーネントの継承の種類を示す属性を取得します。

(継承元 ComponentDesigner)
Inherited

コンポーネントが継承されているかどうかを示す値を取得します。

(継承元 ComponentDesigner)
InTemplateMode
古い.

デザイナー ドキュメントが現在テンプレート モードかどうかを示す値を取得します。

IsDirty
古い.

Web サーバー コントロールが変更済みとしてマークされているかどうかを示す値を取得または設定します。

(継承元 ControlDesigner)
ParentComponent

このデザイナーの親コンポーネントを取得します。

(継承元 ComponentDesigner)
ReadOnly
古い.

コントロールのプロパティがデザイン時に読み取り専用かどうかを示す値を取得または設定します。

(継承元 ControlDesigner)
RootDesigner

関連付けられているコントロールを含む Web フォーム ページのコントロール デザイナーを取得します。

(継承元 ControlDesigner)
SetTextualDefaultProperty

テンプレート ベースのサーバー コントロールのデザイン時の動作を拡張します。

(継承元 ComponentDesigner)
ShadowProperties

ユーザー設定値をオーバーライドするプロパティ値のコレクションを取得します。

(継承元 ComponentDesigner)
ShouldCodeSerialize
古い.

シリアル化中に、現在のデザイン ドキュメントの分離コード ファイル内でコントロールのフィールド宣言を作成するかどうかを示す値を取得または設定します。

(継承元 HtmlControlDesigner)
Tag

関連付けられているコントロールの HTML マークアップ要素を表すオブジェクトを取得します。

(継承元 ControlDesigner)
TemplateGroups

テンプレート定義をそれぞれ含むテンプレート グループのコレクションを取得します。

TemplateGroups

それぞれが 1 つまたは複数のテンプレート定義を含む、テンプレート グループのコレクションを取得します。

(継承元 ControlDesigner)
UsePreviewControl

コントロール デザイナーが一時プレビュー コントロールを使用してデザイン時 HTML マークアップを生成するかどうかを示す値を取得します。

(継承元 ControlDesigner)
Verbs

デサイナに関連付けられているコンポーネントがサポートしているデザイン時の動詞を取得します。

(継承元 ComponentDesigner)
ViewControl

デザイン時 HTML マークアップのプレビュー用に使用できる Web サーバー コントロールを取得または設定します。

(継承元 ControlDesigner)
ViewControlCreated

View コントロールがデザイン サーフェイスでの表示用に作成されているかどうかを示す値を取得または設定します。

(継承元 ControlDesigner)
Visible

コントロールがデザイン時に表示されるかどうかを示す値を取得します。

(継承元 ControlDesigner)

メソッド

CreateErrorDesignTimeHtml(String)

指定したエラー メッセージをデザイン時に表示するための HTML マークアップを作成します。

(継承元 ControlDesigner)
CreateErrorDesignTimeHtml(String, Exception)

指定した例外エラー メッセージをデザイン時に表示するための 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()

実行時には視覚的な表示がない Web サーバー コントロールをデザイン時に表すための 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)

指定した InheritanceAttributeComponentDesigner を取得します。

(継承元 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()
古い.

関連付けられている Web サーバー コントロールのサイズがデザイン時にデザイン ホストで変更された場合に呼び出されます。

(継承元 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 を更新します。

明示的なインターフェイスの実装

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)

適用対象

こちらもご覧ください