TemplatedControlDesigner クラス
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
テンプレート ベースのサーバー コントロールのデザイン時の動作を拡張します。
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 |
デザイナーがデータ バインディングを許可するかどうかを示す値を取得します。 |
| 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) |
| ShadowProperties |
ユーザー設定をオーバーライドするプロパティ値のコレクションを取得します。 (継承元 ComponentDesigner) |
| ShouldCodeSerialize |
古い.
シリアル化中に、現在のデザイン ドキュメントの分離コード ファイルでコントロールのフィールド宣言を作成するかどうかを示す値を取得または設定します。 (継承元 HtmlControlDesigner) |
| Tag |
関連付けられたコントロールの HTML マークアップ要素を表すオブジェクトを取得します。 (継承元 ControlDesigner) |
| TemplateGroups |
テンプレート定義を含むテンプレート グループのコレクションを取得します。 |
| UsePreviewControl |
コントロール デザイナーが一時的なプレビュー コントロールを使用してデザイン時 HTML マークアップを生成するかどうかを示す値を取得します。 (継承元 ControlDesigner) |
| Verbs |
デザイナーに関連付けられているコンポーネントでサポートされているデザイン時動詞を取得します。 (継承元 ComponentDesigner) |
| ViewControl |
デザイン時の HTML マークアップのプレビューに使用できる Web サーバー コントロールを取得または設定します。 (継承元 ControlDesigner) |
| ViewControlCreated |
デザイン サーフェイスに表示する |
| Visible |
コントロールがデザイン時に表示されるかどうかを示す値を取得します。 (継承元 ControlDesigner) |
メソッド
| 名前 | 説明 |
|---|---|
| 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() |
実行時に視覚的な表現を持たない 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) |
指定した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() |
古い.
デザイン時に、関連付けられている Web サーバー コントロールのサイズがデザイン ホストで変更されたときに呼び出されます。 (継承元 ControlDesigner) |
| OnPaint(PaintEventArgs) |
CustomPaint値が |
| 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) |