MenuDesigner クラス

定義

Menu コントロールを、ビジュアル デザイナーで、デザイン時に使用できるようにします。

public ref class MenuDesigner : System::Web::UI::Design::WebControls::HierarchicalDataBoundControlDesigner, System::Web::UI::Design::IDataBindingSchemaProvider
public class MenuDesigner : System.Web.UI.Design.WebControls.HierarchicalDataBoundControlDesigner, System.Web.UI.Design.IDataBindingSchemaProvider
type MenuDesigner = class
    inherit HierarchicalDataBoundControlDesigner
    interface IDataBindingSchemaProvider
Public Class MenuDesigner
Inherits HierarchicalDataBoundControlDesigner
Implements IDataBindingSchemaProvider
継承
実装

次のコード例は、 クラスを拡張して、 MenuDesigner デザイン時にコントロールから派生したコントロールの外観を変更する方法を Menu 示しています。

この例では、 から クラスをMyMenuMenu派生させます。 クラスは MyMenu のコピー Menuです。 この例では、 クラスから クラスを派生MyMenuDesignerさせ、 クラスの 属性MyMenuDesignerMyMenu適用DesignerAttributeMenuDesignerします。

The MyMenuDesigner は、次 MenuDesigner のメンバーをオーバーライドします。

  • コントロールの GetDesignTimeHtml 周囲にオレンジ色の点線の罫線を描画して、その範囲をより見えるようにするメソッド。

  • GetErrorDesignTimeHtmlエラー メッセージを含むプレースホルダーのマークアップを生成するメソッド。赤の太字のテキストで表示されます。

  • GetEmptyDesignTimeHtmlメニュー項目が定義されていないことを示すメッセージを含むプレースホルダーのマークアップを生成する 。

  • Initialize関連付けられたコントロールがオブジェクトでない場合に例外をスローArgumentExceptionするMyMenuメソッド。

using System;
using System.Web;
using System.Web.UI.WebControls;
using System.Web.UI.Design.WebControls;
using System.ComponentModel;
using System.Security.Permissions;
using System.Drawing;

namespace Examples.CS.WebControls.Design
{
    // The MyMenu is a copy of the Menu.
    [AspNetHostingPermission(SecurityAction.Demand, 
        Level = AspNetHostingPermissionLevel.Minimal)]
    [AspNetHostingPermission(SecurityAction.InheritanceDemand, 
        Level = AspNetHostingPermissionLevel.Minimal)]
    [Designer(typeof(Examples.CS.WebControls.Design.MyMenuDesigner))]
    public class MyMenu : Menu
    {
    } // MyMenu

    // Override members of the MenuDesigner.
    public class MyMenuDesigner : MenuDesigner
    {
        // Generate the design-time markup for the control when an error occurs.
        protected override string GetErrorDesignTimeHtml(Exception ex) 
        {
            // Write the error message text in red, bold.
            string errorRendering =
                "<span style=\"font-weight:bold; color:Red; \">" +
                ex.Message + "</span>";

            return CreatePlaceHolderDesignTimeHtml(errorRendering);
        } // GetErrorDesignTimeHtml

        // Generate the design-time markup for the control 
        // when the template is empty.
        protected override string GetEmptyDesignTimeHtml()
        {
            string noElements = "Contains no menu items.";

            return CreatePlaceHolderDesignTimeHtml(noElements);
        } // GetEmptyDesignTimeHtml

        // Generate the design-time markup.
        public override string GetDesignTimeHtml()
        {
            // Make the control more visible in the designer.  If the border 
            // style is None or NotSet, change the border to an orange dotted line. 
            MyMenu myMenuCtl = (MyMenu)ViewControl;
            string markup = null;

            // Check if the border style should be changed.
            if (myMenuCtl.BorderStyle == BorderStyle.NotSet ||
                myMenuCtl.BorderStyle == BorderStyle.None)
            {
                BorderStyle oldBorderStyle = myMenuCtl.BorderStyle;
                Color oldBorderColor = myMenuCtl.BorderColor;

                // Set the design-time properties and catch any exceptions.
                try
                {
                    myMenuCtl.BorderStyle = BorderStyle.Dotted;
                    myMenuCtl.BorderColor = Color.FromArgb(0xFF7F00);

                    // Call the base method to generate the markup.
                    markup = base.GetDesignTimeHtml();
                }
                catch (Exception ex)
                {
                    markup = GetErrorDesignTimeHtml(ex);
                }
                finally
                {
                    // Restore the properties to their original settings.
                    myMenuCtl.BorderStyle = oldBorderStyle;
                    myMenuCtl.BorderColor = oldBorderColor;
                }
            }
            else
            {
                // Call the base method to generate the markup.
                markup = base.GetDesignTimeHtml();
            }

            return markup;
        } // GetDesignTimeHtml

        public override void Initialize(IComponent component)
        {
            // Ensure that only a MyMenu can be created in this designer.
            if (!(component is MyMenu))
                throw new ArgumentException(
                    "The component is not a MyMenu control.");
            
            base.Initialize(component);
        } // Initialize
    } // MyMenuDesigner
} // Examples.CS.WebControls.Design
Imports System.Web
Imports System.Web.UI.WebControls
Imports System.Web.UI.Design.WebControls
Imports System.ComponentModel
Imports System.Security.Permissions
Imports System.Drawing

Namespace Examples.VB.WebControls.Design

    ' The MyMenu is a copy of the Menu.
    <AspNetHostingPermission(SecurityAction.Demand, _
        Level:=AspNetHostingPermissionLevel.Minimal)> _
    <AspNetHostingPermission(SecurityAction.InheritanceDemand, _
        Level:=AspNetHostingPermissionLevel.Minimal)> _
    <Designer(GetType(Examples.VB.WebControls.Design.MyMenuDesigner))> _
    Public Class MyMenu
        Inherits Menu
    End Class

    ' Override members of the MenuDesigner.
    Public Class MyMenuDesigner
        Inherits MenuDesigner

        ' Generate the design-time markup for the control when an error occurs.
        Protected Overrides Function GetErrorDesignTimeHtml( _
            ByVal ex As Exception) As String

            ' Write the error message text in red, bold.
            Dim errorRendering As String = _
                "<span style=""font-weight:bold; color:Red; "">" & _
                ex.Message & "</span>"

            Return CreatePlaceHolderDesignTimeHtml(errorRendering)

        End Function ' GetErrorDesignTimeHtml

        ' Generate the design-time markup for the control 
        ' when the template is empty.
        Protected Overrides Function GetEmptyDesignTimeHtml() As String

            Dim noElements As String = "Contains no menu items."

            Return CreatePlaceHolderDesignTimeHtml(noElements)

        End Function ' GetEmptyDesignTimeHtml

        ' Generate the design-time markup.
        Public Overrides Function GetDesignTimeHtml() As String

            ' Make the control more visible in the designer.  If the border 
            ' style is None or NotSet, change the border to an orange dotted line. 
            Dim myMenuCtl As MyMenu = CType(ViewControl, MyMenu)
            Dim markup As String = Nothing

            ' Check if the border style should be changed.
            If (myMenuCtl.BorderStyle = BorderStyle.NotSet Or _
                myMenuCtl.BorderStyle = BorderStyle.None) Then

                Dim oldBorderStyle As BorderStyle = myMenuCtl.BorderStyle
                Dim oldBorderColor As Color = myMenuCtl.BorderColor

                ' Set the design-time properties and catch any exceptions.
                Try
                    myMenuCtl.BorderStyle = BorderStyle.Dotted
                    myMenuCtl.BorderColor = Color.FromArgb(&HFF7F00)

                    ' Call the base method to generate the markup.
                    markup = MyBase.GetDesignTimeHtml()

                Catch ex As Exception
                    markup = GetErrorDesignTimeHtml(ex)

                Finally
                    ' Restore the properties to their original settings.
                    myMenuCtl.BorderStyle = oldBorderStyle
                    myMenuCtl.BorderColor = oldBorderColor
                End Try

            Else
                ' Call the base method to generate the markup.
                markup = MyBase.GetDesignTimeHtml()
            End If

            Return markup

        End Function ' GetDesignTimeHtml

        Public Overrides Sub Initialize(ByVal component As IComponent)

            ' Ensure that only a MyMenu can be created in this designer. 
            If Not TypeOf component Is MyMenu Then
                Throw New ArgumentException( _
                    "The component is not a MyMenu control.")
            End If

            MyBase.Initialize(component)

        End Sub
    End Class
End Namespace ' Examples.VB.WebControls.Design

注釈

クラスには Menu 、階層メニュー Web サーバー コントロールが用意されています。

ビジュアル デザイナーで、[ソース] ビューから [デザイン] ビューに切り替えると、関連付けられた Menu コントロールを記述するマークアップ ソース コードが解析され、デザイン サーフェイスにコントロールのデザイン時バージョンが作成されます。 ソース ビューに戻ると、デザイン時コントロールはマークアップに永続化され、Web ページの既存のマークアップに追加されます。 クラスは MenuDesigner 、ビジュアル デザイナーでのコントロールの Menu デザイン時のサポートを提供します。

プロパティは ActionLists 、通常、デザイナーの DesignerActionListCollection 継承ツリーの各レベルの クラスから DesignerActionList 派生した オブジェクトを含む オブジェクトを返します。 プロパティは AutoFormats 、[ 自動 書式] ダイアログ ボックスに表示する書式パターンのコレクションを返します。

プロパティは TemplateGroups 、関連付けられた Menu コントロールのテンプレートのテンプレート グループのコレクションを返します。 プロパティは UsePreviewControl 常に を返 trueします。これは、デザイナーが、デザイン時マークアップを生成するために関連付けられている Menu の一時的なコピーを作成することを示します。

クラス メソッドには MenuDesigner 、次の機能があります。

  • メソッドは Initialize 、関連付けられた Menu コントロールを表示、編集、およびデザインするようにデザイナーを準備します。 メソッドは GetDesignTimeHtml 、デザイン時に関連付けられた Menu をレンダリングするために使用されるマークアップを返します。

  • メソッドは GetEmptyDesignTimeHtml 、マークアップが使用できない場合に、デザイン時に関連付けられたコントロールのプレースホルダーをレンダリングするマークアップを取得します。 メソッドは GetErrorDesignTimeHtml 、エラーが発生したときに、関連付けられたコントロールをデザイン時にレンダリングするマークアップを提供します。

  • メソッドは DataBind 、関連付けられた Menu コントロールをデザイン時データ ソースにバインドします。 メソッドは GetSampleDataSource 、関連付けられたコントロールのデザイン時に使用できるサンプル データ ソースを構築します。

コンストラクター

MenuDesigner()

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

プロパティ

ActionLists

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

AllowResize

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

(継承元 ControlDesigner)
AssociatedComponents

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

(継承元 ComponentDesigner)
AutoFormats

[オートフォーマット] ダイアログ ボックスに表示する定義済み書式指定スキームのコレクションを取得します。

Behavior
古い.

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

(継承元 HtmlControlDesigner)
CanRefreshSchema

プロバイダーがスキーマを更新できるかどうかを示す値を取得します。

Component

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

(継承元 ComponentDesigner)
DataBindings

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

(継承元 HtmlControlDesigner)
DataBindingsEnabled

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

(継承元 ControlDesigner)
DataSource

関連付けられたコントロールの DataSource プロパティの値を取得または設定します。

(継承元 BaseDataBoundControlDesigner)
DataSourceDesigner

データ ソースのデザイナーがデータ バインディング用に選択されている場合、そのデザイナーにアクセスできるようにします。

(継承元 HierarchicalDataBoundControlDesigner)
DataSourceID

基になる DataSourceID オブジェクトの BaseDataBoundControl プロパティの値を取得または設定します。

(継承元 BaseDataBoundControlDesigner)
DesignerState

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

(継承元 ControlDesigner)
DesignerView

関連付けられたコントロールにバインドされるデータ ソースの既定のビューを取得します。

(継承元 HierarchicalDataBoundControlDesigner)
DesignTimeElement
古い.

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

(継承元 HtmlControlDesigner)
DesignTimeElementView
古い.

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

(継承元 ControlDesigner)
DesignTimeHtmlRequiresLoadComplete
古い.

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

(継承元 ControlDesigner)
Expressions

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

(継承元 HtmlControlDesigner)
HidePropertiesInTemplateMode

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

(継承元 ControlDesigner)
ID

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

(継承元 ControlDesigner)
InheritanceAttribute

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

(継承元 ComponentDesigner)
Inherited

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

(継承元 ComponentDesigner)
InTemplateMode

デザイン ホストでコントロールがテンプレート表示モードまたは編集モードのいずれかであるかどうかを示す値を取得します。 InTemplateMode プロパティは読み取り専用です。

(継承元 ControlDesigner)
IsDirty
古い.

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

(継承元 ControlDesigner)
ParentComponent

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

(継承元 ComponentDesigner)
ReadOnly
古い.

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

(継承元 ControlDesigner)
RootDesigner

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

(継承元 ControlDesigner)
Schema

関連付けられた Menu コントロールのデータ ソース ビューを記述するスキーマを取得します。

SetTextualDefaultProperty

Menu コントロールを、ビジュアル デザイナーで、デザイン時に使用できるようにします。

(継承元 ComponentDesigner)
ShadowProperties

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

(継承元 ComponentDesigner)
ShouldCodeSerialize
古い.

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

(継承元 HtmlControlDesigner)
Tag

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

(継承元 ControlDesigner)
TemplateGroups

関連付けられたコントロールのテンプレートについて、テンプレート グループのコレクションを取得します。

UseDataSourcePickerActionList

データ ソース ID のドロップダウン リストおよび関連タスクが含まれた既定のアクション リストをコントロールが表示するかどうかを示す値を取得します。

(継承元 HierarchicalDataBoundControlDesigner)
UsePreviewControl

デザイナーでデザイン時のマークアップを生成するときに、関連付けられたコントロールのコピーを使用するか、コントロール自体を使用するかを示す値を取得します。

Verbs

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

(継承元 ComponentDesigner)
ViewControl

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

(継承元 ControlDesigner)
ViewControlCreated

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

(継承元 ControlDesigner)
Visible

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

(継承元 ControlDesigner)

メソッド

ConnectToDataSource()

現在のデータ ソースへの接続に必要なアクションを実行します。

(継承元 HierarchicalDataBoundControlDesigner)
CreateDataSource()

関連付けられたコントロールの新しいデータ ソースを作成します。

(継承元 HierarchicalDataBoundControlDesigner)
CreateErrorDesignTimeHtml(String)

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

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

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

(継承元 ControlDesigner)
CreatePlaceHolderDesignTimeHtml()

コントロールの種類と ID を表示する単純な四角形のプレースホルダー表示を提供します。

(継承元 ControlDesigner)
CreatePlaceHolderDesignTimeHtml(String)

コントロールの種類と ID を表示する単純な四角形のプレースホルダー表示を提供します。指定された追加指示または追加情報も提供します。

(継承元 ControlDesigner)
CreateViewControl()

デザイン サーフェイスで表示または描画するために関連付けられているコントロールのコピーを返します。

(継承元 ControlDesigner)
DataBind(BaseDataBoundControl)

関連付けられたコントロールをデザイン時のデータ ソースにバインドします。

DisconnectFromDataSource()

現在のデータ ソースからの接続を解除するために必要なアクションを実行します。

(継承元 HierarchicalDataBoundControlDesigner)
Dispose()

ComponentDesigner によって使用されているすべてのリソースを解放します。

(継承元 ComponentDesigner)
Dispose(Boolean)

BaseDataBoundControlDesigner オブジェクトによって使用されているアンマネージド リソースを解放します。オプションでマネージド リソースも解放できます。

(継承元 BaseDataBoundControlDesigner)
DoDefaultAction()

コンポーネントの既定イベントに対するメソッド シグネチャをソース コード ファイル内に作成し、コード内のその位置にカーソルを移動します。

(継承元 ComponentDesigner)
Equals(Object)

指定されたオブジェクトが現在のオブジェクトと等しいかどうかを判断します。

(継承元 Object)
GetBounds()

デザイン サーフェイスに表示されるコントロールの境界を表す四角形の座標を取得します。

(継承元 ControlDesigner)
GetDesignTimeDataSource()

デザイン時に、関連付けられたコントロールで使用できるデータ ソースを取得します。

(継承元 HierarchicalDataBoundControlDesigner)
GetDesignTimeHtml()

デザイン時に関連付けられたコントロールを描画するために使用するマークアップを取得します。

GetDesignTimeHtml(DesignerRegionCollection)

コントロールを表示する HTML マークアップを取得し、現在のコントロール デザイナー領域をコレクションに設定します。

(継承元 ControlDesigner)
GetEditableDesignerRegionContent(EditableDesignerRegion)

関連付けられたコントロールのデザイン時ビューの編集可能領域の内容を返します。

(継承元 ControlDesigner)
GetEmptyDesignTimeHtml()

マークアップを別の方法で使用できない場合に、関連付けられたコントロールのプレースホルダーをデザイン時に表示するためのマークアップを取得します。

GetErrorDesignTimeHtml(Exception)

エラーが発生した場合に、関連付けられたコントロールをデザイン時表示するためのマークアップを提供します。

GetHashCode()

既定のハッシュ関数として機能します。

(継承元 Object)
GetPersistenceContent()

コントロールの永続化できる内部 HTML マークアップをデザイン時に取得します。

(継承元 ControlDesigner)
GetPersistInnerHtml()
古い.

コントロールの永続化できる内部 HTML マークアップを取得します。

(継承元 ControlDesigner)
GetSampleDataSource()

デザイン時に、関連付けられたコントロールに使用するサンプル データ ソースを構築します。

GetService(Type)

デザイナーのコンポーネントのデザイン モード サイトから、指定した型のサービスの取得を試みます。

(継承元 ComponentDesigner)
GetType()

現在のインスタンスの Type を取得します。

(継承元 Object)
GetViewRendering()

関連付けられているコントロールの内容および領域のデザイン時マークアップを格納しているオブジェクトを取得します。

(継承元 ControlDesigner)
Initialize(IComponent)

関連付けられたコントロールをデザイナーで表示、編集、デザインできるように準備します。

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()

コントロール デザイナーが Behavior オブジェクトにアタッチされていると、呼び出されます。

(継承元 ControlDesigner)
OnBehaviorDetaching()
古い.

動作と要素の関連付けが解除されたときに呼び出されます。

(継承元 HtmlControlDesigner)
OnBindingsCollectionChanged(String)
古い.

データ バインディング コレクションが変更されると、呼び出されます。

(継承元 ControlDesigner)
OnClick(DesignerRegionMouseEventArgs)

関連付けられているコントロールをデザイン時にユーザーがクリックすると、デザイン ホストによって呼び出されます。

(継承元 ControlDesigner)
OnComponentChanged(Object, ComponentChangedEventArgs)

関連付けられているコントロールが変更されたときに呼び出されます。

(継承元 ControlDesigner)
OnComponentChanging(Object, ComponentChangingEventArgs)

関連付けられているコントロールの ComponentChanging イベントを処理するメソッドを表します。

(継承元 ControlDesigner)
OnControlResize()
古い.

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

(継承元 ControlDesigner)
OnDataSourceChanged(Boolean)

関連付けられた BaseDataBoundControl オブジェクトのデータ ソースが変更された場合に呼び出されます。

(継承元 BaseDataBoundControlDesigner)
OnPaint(PaintEventArgs)

CustomPaint 値が true の場合に、コントロール デザイナーが関連付けられているコントロールをデザイン サーフェイスに描画すると呼び出されます。

(継承元 ControlDesigner)
OnSchemaRefreshed()

関連付けられた BaseDataBoundControl オブジェクトのデータ ソースによって新しいスキーマが読み込まれたときに呼び出されます。

(継承元 BaseDataBoundControlDesigner)
OnSetComponentDefaults()
古い.
古い.

コンポーネントの既定のプロパティを設定します。

(継承元 ComponentDesigner)
OnSetParent()

関連付けられたコントロールが親コントロールに結び付けられている場合に追加処理を実行する手段を提供します。

(継承元 HtmlControlDesigner)
PostFilterAttributes(IDictionary)

デザイナーが、TypeDescriptor を通じて公開する一連の属性から、項目を変更または削除できるようにします。

(継承元 ComponentDesigner)
PostFilterEvents(IDictionary)

デザイナーが、TypeDescriptor を通じて公開する一連のイベントから、項目を変更または削除できるようにします。

(継承元 ComponentDesigner)
PostFilterProperties(IDictionary)

デザイナーが、TypeDescriptor を通じて公開する一連のプロパティから、項目を変更または削除できるようにします。

(継承元 ComponentDesigner)
PreFilterAttributes(IDictionary)

デザイナーが、TypeDescriptor を通じて公開する一連の属性に項目を追加できるようにします。

(継承元 ComponentDesigner)
PreFilterEvents(IDictionary)

デザイン時にコンポーネントの TypeDescriptor オブジェクトに公開されているイベントのリストを設定します。

(継承元 HtmlControlDesigner)
PreFilterProperties(IDictionary)

プロパティ グリッドの表示に対してプロパティの削除または追加を行ったり、または、関連するコントロールのプロパティをシャドウするために、デザイナーによって使用されます。

(継承元 HierarchicalDataBoundControlDesigner)
RaiseComponentChanged(MemberDescriptor, Object, Object)

コンポーネントが変更されたことを IComponentChangeService に通知します。

(継承元 ComponentDesigner)
RaiseComponentChanging(MemberDescriptor)

コンポーネントが変更されようとしていることを IComponentChangeService に通知します。

(継承元 ComponentDesigner)
RaiseResizeEvent()
古い.

OnControlResize() イベントを発生させます。

(継承元 ControlDesigner)
RefreshSchema(Boolean)

関連付けられた Menu コントロールのデータ ソース ビューのスキーマを更新します。

RegisterClone(Object, Object)

複製が作成されたコントロールの内部データを登録します。

(継承元 ControlDesigner)
SetEditableDesignerRegionContent(EditableDesignerRegion, String)

デザイン時にコントロールの編集可能領域の内容を指定します。

(継承元 ControlDesigner)
SetRegionContent(EditableDesignerRegion, String)

コントロールのデザイン時ビューの編集可能領域の内容を指定します。

(継承元 ControlDesigner)
SetViewFlags(ViewFlags, Boolean)

指定したビットごとの ViewFlags 列挙体を指定したフラグ値に割り当てます。

(継承元 ControlDesigner)
ToString()

現在のオブジェクトを表す文字列を返します。

(継承元 Object)
UpdateDesignTimeHtml()

GetDesignTimeHtml メソッドを呼び出して、関連付けられている Web サーバー コントロールのデザイン時 HTML マークアップを更新します。

(継承元 ControlDesigner)

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

IDataBindingSchemaProvider.CanRefreshSchema

プロバイダーがスキーマを更新できるかどうかを示す値を取得します。 このメンバーの説明については、CanRefreshSchema プロパティを参照してください。

IDataBindingSchemaProvider.RefreshSchema(Boolean)

このメンバーの説明については、RefreshSchema(Boolean) メソッドのトピックを参照してください。

IDataBindingSchemaProvider.Schema

デザイナーの現在のスキーマ オブジェクトを取得します。 このメンバーの説明については、Schema プロパティを参照してください。

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)

適用対象

こちらもご覧ください