ListControlDesigner クラス
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
ListControl 抽象クラスから派生したコントロールにビジュアル Web デザイナーでのデザイン時サポートを提供する、デザイナーの基底クラスとして機能します。
public ref class ListControlDesigner : System::Web::UI::Design::ControlDesigner, System::Web::UI::Design::IDataSourceProvider
public ref class ListControlDesigner : System::Web::UI::Design::WebControls::DataBoundControlDesigner
public class ListControlDesigner : System.Web.UI.Design.ControlDesigner, System.Web.UI.Design.IDataSourceProvider
[System.Web.UI.Design.SupportsPreviewControl(true)]
public class ListControlDesigner : System.Web.UI.Design.WebControls.DataBoundControlDesigner
type ListControlDesigner = class
inherit ControlDesigner
interface IDataSourceProvider
[<System.Web.UI.Design.SupportsPreviewControl(true)>]
type ListControlDesigner = class
inherit DataBoundControlDesigner
Public Class ListControlDesigner
Inherits ControlDesigner
Implements IDataSourceProvider
Public Class ListControlDesigner
Inherits DataBoundControlDesigner
- 継承
- 継承
- 派生
- 属性
- 実装
例
このセクションでは、2 つのコード例を示します。 1 つ目は、カスタム コントロール デザイナーを派生させる方法を示しています。 2 つ目は、派生コントロールをデザイナーに関連付ける方法を示しています。
次のコード例は、 クラスから継承する という名前 SimpleRadioButtonListDesigner
のクラスを作成する方法を ListControlDesigner 示しています。 クラスはSimpleRadioButtonListDesigner
、GetDesignTimeHtmlInitializeおよび メソッドをOnDataSourceChangedオーバーライドします。 クラスは SimpleRadioButtonListDesigner
、 SimpleRadioButtonList
デザインサーフェイスにコントロールを表示します。
using System;
using System.ComponentModel;
using System.Drawing;
using System.Diagnostics;
using System.Web.UI.WebControls;
using System.Web.UI.Design.WebControls;
namespace Examples.CS.WebControls.Design
{
// Create the SimpleRadioButtonListDesigner, which provides
// design-time support for a custom list class.
public class SimpleRadioButtonListDesigner : ListControlDesigner
{
SimpleRadioButtonList simpleRadioButtonList;
bool changedDataSource;
// Create the markup to display the control on the design surface.
public override string GetDesignTimeHtml()
{
string designTimeMarkup = null;
// Create variables to access the control
// item collection and back color.
ListItemCollection items = simpleRadioButtonList.Items;
Color oldBackColor = simpleRadioButtonList.BackColor;
// Check the property values and render the markup
// on the design surface accordingly.
try
{
if (oldBackColor == Color.Empty)
simpleRadioButtonList.BackColor = Color.Gainsboro;
if (changedDataSource)
items.Add("Updated to a new data source: " +
DataSource + ".");
// Call the base method to generate the markup.
designTimeMarkup = base.GetDesignTimeHtml();
}
catch (Exception ex)
{
// Catch any exceptions that occur.
designTimeMarkup = GetErrorDesignTimeHtml(ex);
}
finally
{
// Set the properties back to their original state.
simpleRadioButtonList.BackColor = oldBackColor;
items.Clear();
}
return designTimeMarkup;
} // GetDesignTimeHtml
public override void Initialize(IComponent component)
{
// Ensure that only a SimpleRadioButtonList can be
// created in this designer.
Debug.Assert(
component is SimpleRadioButtonList,
"An invalid SimpleRadioButtonList control was initialized.");
simpleRadioButtonList = (SimpleRadioButtonList)component;
base.Initialize(component);
} // Initialize
// If the data source changes, set a boolean variable.
public override void OnDataSourceChanged()
{
changedDataSource = true;
} // OnDataSourceChanged
} // SimpleRadioButtonListDesigner
} // Examples.CS.WebControls.Design
Imports System.ComponentModel
Imports System.Drawing
Imports System.Diagnostics
Imports System.Web.UI.WebControls
Imports System.Web.UI.Design.WebControls
Namespace Examples.VB.WebControls.Design
' Create the SimpleRadioButtonListDesigner, which provides
' design-time support for a custom list class.
Public Class SimpleRadioButtonListDesigner
Inherits ListControlDesigner
Private simpleRadioButtonList As SimpleRadioButtonList
Private changedDataSource As Boolean
' Create the markup to display the control on the design surface.
Public Overrides Function GetDesignTimeHtml() As String
Dim designTimeHtml As String = String.Empty
' Create variables to access the control's
' item collection and back color.
Dim items As ListItemCollection = simpleRadioButtonList.Items
Dim oldBackColor As Color = simpleRadioButtonList.BackColor
' Check the property values and render the markup
' on the design surface accordingly.
Try
If (Color.op_Equality(oldBackColor, Color.Empty)) Then
simpleRadioButtonList.BackColor = Color.Gainsboro
End If
If (changedDataSource) Then
items.Add( _
"Updated to a new data source: " & DataSource & ".")
End If
designTimeHtml = MyBase.GetDesignTimeHtml()
Catch ex As Exception
' Catch any exceptions that occur.
MyBase.GetErrorDesignTimeHtml(ex)
Finally
' Set the properties back to their original state.
simpleRadioButtonList.BackColor = oldBackColor
items.Clear()
End Try
Return designTimeHtml
End Function ' GetDesignTimeHtml
Public Overrides Sub Initialize(ByVal component As IComponent)
' Ensure that only a SimpleRadioButtonList can be created
' in this designer.
Debug.Assert( _
TypeOf component Is SimpleRadioButtonList, _
"An invalid SimpleRadioButtonList control was initialized.")
simpleRadioButtonList = CType(component, SimpleRadioButtonList)
MyBase.Initialize(component)
End Sub
' If the data source changes, set a Boolean variable.
Public Overrides Sub OnDataSourceChanged()
changedDataSource = True
End Sub
End Class
End Namespace ' Examples.VB.WebControls.Design
次のコード例では、 コントロールからコントロールをRadioButtonList派生SimpleRadioButtonList
させ、 クラスをDesignerAttribute使用してコントロールをデザイナーの クラスに関連付けるSimpleRadioButtonList
方法をSimpleRadioButtonListDesigner
示します。
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.ComponentModel;
using System.Security.Permissions;
namespace Examples.CS.WebControls.Design
{
// The SimpleRadioButtonList is a copy of the RadioButtonList.
// It uses the SimpleRadioButtonListDesigner for design-time support.
[AspNetHostingPermission(SecurityAction.Demand,
Level = AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermission(SecurityAction.InheritanceDemand,
Level = AspNetHostingPermissionLevel.Minimal)]
[Designer(typeof(Examples.CS.WebControls.Design.
SimpleRadioButtonListDesigner))]
[DataBindingHandler(typeof(Examples.CS.WebControls.Design.
SimpleRadioButtonListDataBindingHandler))]
public class SimpleRadioButtonList : RadioButtonList
{
} // SimpleRadioButtonList
} // Examples.CS.WebControls.Design
Imports System.Web
Imports System.Web.UI
Imports System.Web.UI.WebControls
Imports System.ComponentModel
Imports System.Security.Permissions
Namespace Examples.VB.WebControls.Design
' The SimpleRadioButtonList is a copy of the RadioButtonList.
' It uses the SimpleRadioButtonListDesigner for design-time support.
<AspNetHostingPermission(SecurityAction.Demand, _
Level:=AspNetHostingPermissionLevel.Minimal)> _
<AspNetHostingPermission(SecurityAction.InheritanceDemand, _
Level:=AspNetHostingPermissionLevel.Minimal)> _
<DesignerAttribute(GetType(Examples.VB.WebControls.Design. _
SimpleRadioButtonListDesigner))> _
<DataBindingHandler(GetType(Examples.VB.WebControls.Design. _
SimpleRadioButtonListDataBindingHandler))> _
Public Class SimpleRadioButtonList
Inherits RadioButtonList
End Class
End Namespace ' Examples.VB.WebControls.Design
注釈
Visual Web Designerでは、ユーザーが [ソース] ビューから [デザイン] ビューに切り替えると、クラスからListControl派生したコントロールを記述するマークアップ ソース コードが解析され、デザイン画面にコントロールのデザイン時バージョンが作成されます。 ユーザーがソース ビューに戻ると、デザイン時コントロールはマークアップ ソース コードに永続化され、Web ページのマークアップに編集されます。 クラスはListControlDesigner、 からListControl派生したコントロールの Visual Web Designerでデザイン時のサポートを提供するデザイナーの基本クラスとして機能します。
クラス プロパティには ListControlDesigner 、次の機能があります。
プロパティは ActionLists 、通常、デザイナーの DesignerActionListCollection 継承ツリーの各レベルの オブジェクトから派生した オブジェクトを DesignerActionList 含む オブジェクトを返します。
プロパティと DataValueField プロパティをDataTextField使用すると、 クラスから派生したコントロールの対応するプロパティにListControlアクセスできます。 と DataValueField はDataTextField、リスト アイテムのテキストと値の内容を提供するデータ ソースのフィールドをそれぞれ示します。
クラス メソッドには ListControlDesigner 、次の機能があります。
メソッドは DataBind 、 から ListControl 派生した関連付けられたコントロールをデザイン時データ ソースにバインドします。
メソッドは GetDesignTimeHtml 、デザイン時に関連付けられたコントロールをレンダリングするために使用されるマークアップを返します。
メソッドは GetSelectedDataSource 、関連付けられているコントロール コンテナーからデザイン時 DataSource コンポーネントを返します。
メソッドは GetResolvedSelectedDataSource コントロール コンテナーから を DataSource 返し、コントロールのデザイン時 DataMember プロパティに解決されます。
メソッドは Initialize 、 から派生した関連付けられたコントロールを表示および設計するようにデザイナーを準備します ListControl。
メソッドは OnDataSourceChanged 、関連付けられたコントロールの が DataSource 変更されたときに呼び出されます。
メソッドは PreFilterProperties 、 から追加のプロパティを削除したり、 から派生した関連付けられたコントロールのプロパティを追加したり、シャドウ プロパティを追加したりするために使用されます ListControl。
コンストラクター
ListControlDesigner() |
ListControlDesigner クラスの新しいインスタンスを初期化します。 |
プロパティ
ActionLists |
デザイナーのデザイナー アクション リスト コレクションを取得します。 |
ActionLists |
コントロール デザイナーのアクション リスト コレクションを取得します。 (継承元 ControlDesigner) |
AllowResize |
デザイン時環境でコントロールのサイズを変更できるかどうかを示す値を取得します。 (継承元 ControlDesigner) |
AssociatedComponents |
デザイナーで管理されているコンポーネントに関連付けられているコンポーネントのコレクションを取得します。 (継承元 ComponentDesigner) |
AutoFormats |
関連付けられたコントロールの [オートフォーマット] ダイアログ ボックスにデザイン時に表示される定義済みの自動書式指定スキームのコレクションを取得します。 (継承元 ControlDesigner) |
Behavior |
古い.
デザイナーに関連付けられている DHTML 動作を取得または設定します。 (継承元 HtmlControlDesigner) |
Component |
デザイナーがデザインするコンポーネントを取得します。 (継承元 ComponentDesigner) |
DataBindings |
現在のコントロールのデータ バインディング コレクションを取得します。 (継承元 HtmlControlDesigner) |
DataBindingsEnabled |
関連付けられているコントロールの格納先の領域がデータ バインディングをサポートするかどうかを示す値を取得します。 (継承元 ControlDesigner) |
DataMember |
コントロールのデータ メンバーを取得または設定します。 |
DataMember |
基底のデータ バインド コントロールのシャドウされた DataMember プロパティを取得します。 (継承元 DataBoundControlDesigner) |
DataSource |
コントロールのデータ ソース プロパティを取得または設定します。 |
DataSource |
関連付けられたコントロールの DataSource プロパティの値を取得または設定します。 (継承元 BaseDataBoundControlDesigner) |
DataSourceDesigner |
基底のデータ バインド コントロールのデータ ソースのデザイナーを取得します。 (継承元 DataBoundControlDesigner) |
DataSourceID |
基になる DataSourceID オブジェクトの BaseDataBoundControl プロパティの値を取得または設定します。 (継承元 BaseDataBoundControlDesigner) |
DataTextField |
コントロールのデータ テキスト フィールドを取得または設定します。 |
DataValueField |
コントロールのデータ値フィールドを取得または設定します。 |
DesignerState |
デザイン時に関連付けられているコントロールのデータを永続化するために使用するオブジェクトを取得します。 (継承元 ControlDesigner) |
DesignerView |
このデザイナーのデータ ソースに関連付けられている DesignerDataSourceView オブジェクトを取得します。 (継承元 DataBoundControlDesigner) |
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) |
SampleRowCount |
データ バインド コントロールがデザイン サーフェイスに表示する行の数を取得します。 (継承元 DataBoundControlDesigner) |
SetTextualDefaultProperty |
ListControl 抽象クラスから派生したコントロールにビジュアル Web デザイナーでのデザイン時サポートを提供する、デザイナーの基底クラスとして機能します。 (継承元 ComponentDesigner) |
ShadowProperties |
ユーザー設定値をオーバーライドするプロパティ値のコレクションを取得します。 (継承元 ComponentDesigner) |
ShouldCodeSerialize |
古い.
シリアル化中に、現在のデザイン ドキュメントの分離コード ファイル内でコントロールのフィールド宣言を作成するかどうかを示す値を取得または設定します。 (継承元 HtmlControlDesigner) |
Tag |
関連付けられているコントロールの HTML マークアップ要素を表すオブジェクトを取得します。 (継承元 ControlDesigner) |
TemplateGroups |
それぞれが 1 つまたは複数のテンプレート定義を含む、テンプレート グループのコレクションを取得します。 (継承元 ControlDesigner) |
UseDataSourcePickerActionList |
関連付けられたコントロールが既定のアクション リストを表示するかどうかを示す値を取得します。 |
UsePreviewControl |
コントロール デザイナーが一時プレビュー コントロールを使用してデザイン時 HTML マークアップを生成するかどうかを示す値を取得します。 (継承元 ControlDesigner) |
Verbs |
デサイナに関連付けられているコンポーネントがサポートしているデザイン時の動詞を取得します。 (継承元 ComponentDesigner) |
ViewControl |
デザイン時 HTML マークアップのプレビュー用に使用できる Web サーバー コントロールを取得または設定します。 (継承元 ControlDesigner) |
ViewControlCreated |
|
Visible |
コントロールがデザイン時に表示されるかどうかを示す値を取得します。 (継承元 ControlDesigner) |
メソッド
ConnectToDataSource() |
イベントを以前のデータ ソースから接続解除し、それを現在のデータ ソースに接続します。 (継承元 DataBoundControlDesigner) |
CreateDataSource() |
新しいデータ ソース コントロールを作成する標準ダイアログ ボックスを呼び出し、新しいデータ ソース コントロールの ID をデータ バインド コントロールの DataSourceID プロパティに設定します。 (継承元 DataBoundControlDesigner) |
CreateErrorDesignTimeHtml(String) |
指定したエラー メッセージをデザイン時に表示するための HTML マークアップを作成します。 (継承元 ControlDesigner) |
CreateErrorDesignTimeHtml(String, Exception) |
指定した例外エラー メッセージをデザイン時に表示するための HTML マークアップを作成します。 (継承元 ControlDesigner) |
CreatePlaceHolderDesignTimeHtml() |
コントロールの種類と ID を表示する単純な四角形のプレースホルダー表示を提供します。 (継承元 ControlDesigner) |
CreatePlaceHolderDesignTimeHtml(String) |
コントロールの種類と ID を表示する単純な四角形のプレースホルダー表示を提供します。指定された追加指示または追加情報も提供します。 (継承元 ControlDesigner) |
CreateViewControl() |
デザイン サーフェイスで表示または描画するために関連付けられているコントロールのコピーを返します。 (継承元 ControlDesigner) |
DataBind(BaseDataBoundControl) |
指定したコントロールをデザイン時のデータ ソースにバインドします。 |
DisconnectFromDataSource() |
データ ソース イベントからデータ バインド コントロールを接続解除します。 (継承元 DataBoundControlDesigner) |
Dispose() |
ComponentDesigner によって使用されているすべてのリソースを解放します。 (継承元 ComponentDesigner) |
Dispose(Boolean) |
HtmlControlDesigner オブジェクトによって使用されているアンマネージド リソースを解放します。オプションでマネージド リソースも解放できます。 (継承元 HtmlControlDesigner) |
Dispose(Boolean) |
DataBoundControlDesigner オブジェクトによって使用されているアンマネージド リソースを解放します。オプションでマネージド リソースも解放できます。 (継承元 DataBoundControlDesigner) |
DoDefaultAction() |
コンポーネントの既定イベントに対するメソッド シグネチャをソース コード ファイル内に作成し、コード内のその位置にカーソルを移動します。 (継承元 ComponentDesigner) |
Equals(Object) |
指定されたオブジェクトが現在のオブジェクトと等しいかどうかを判断します。 (継承元 Object) |
GetBounds() |
デザイン サーフェイスに表示されるコントロールの境界を表す四角形の座標を取得します。 (継承元 ControlDesigner) |
GetDesignTimeDataSource() |
関連付けられている |
GetDesignTimeHtml() |
デザイン時にコントロールを表すために使用される HTML を取得します。 |
GetDesignTimeHtml(DesignerRegionCollection) |
コントロールを表示する HTML マークアップを取得し、現在のコントロール デザイナー領域をコレクションに設定します。 (継承元 ControlDesigner) |
GetEditableDesignerRegionContent(EditableDesignerRegion) |
関連付けられたコントロールのデザイン時ビューの編集可能領域の内容を返します。 (継承元 ControlDesigner) |
GetEmptyDesignTimeHtml() |
実行時には視覚的な表示がない Web サーバー コントロールをデザイン時に表すための HTML マークアップを取得します。 (継承元 ControlDesigner) |
GetEmptyDesignTimeHtml() |
コントロールが空の場合、またはデータ ソースを取得できない場合に、デザイン時にコントロールを表示するために使用するマークアップを提供します。 (継承元 BaseDataBoundControlDesigner) |
GetErrorDesignTimeHtml(Exception) |
指定された例外に関する情報を提供する HTML マークアップを取得します。 (継承元 ControlDesigner) |
GetErrorDesignTimeHtml(Exception) |
エラーが発生すると、デザイン時にコントロールを表示するために使用するマークアップを提供します。 (継承元 BaseDataBoundControlDesigner) |
GetHashCode() |
既定のハッシュ関数として機能します。 (継承元 Object) |
GetPersistenceContent() |
コントロールの永続化できる内部 HTML マークアップをデザイン時に取得します。 (継承元 ControlDesigner) |
GetPersistInnerHtml() |
古い.
コントロールの永続化できる内部 HTML マークアップを取得します。 (継承元 ControlDesigner) |
GetResolvedSelectedDataSource() |
関連付けられたコントロール コンテナーから、特定のデータ メンバーに解決されるデータ ソース コンポーネントを取得します。 |
GetSampleDataSource() |
|
GetSelectedDataSource() |
関連付けられたコントロール コンテナーからデータ ソース コンポーネントを取得します。 |
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) |
指定した InheritanceAttribute の ComponentDesigner を取得します。 (継承元 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) |
ComponentChanged イベントを発生させます。 |
OnComponentChanged(Object, ComponentChangedEventArgs) |
関連付けられているコントロールが変更されたときに呼び出されます。 (継承元 ControlDesigner) |
OnComponentChanging(Object, ComponentChangingEventArgs) |
関連付けられているコントロールの ComponentChanging イベントを処理するメソッドを表します。 (継承元 ControlDesigner) |
OnControlResize() |
古い.
関連付けられている Web サーバー コントロールのサイズがデザイン時にデザイン ホストで変更された場合に呼び出されます。 (継承元 ControlDesigner) |
OnDataSourceChanged() |
関連付けられたコントロールのデータ ソースが変更された場合に呼び出されます。 |
OnDataSourceChanged(Boolean) |
関連付けられたコントロールのデータ ソースが変更された場合に呼び出されます。 |
OnPaint(PaintEventArgs) |
CustomPaint 値が |
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) |
プロパティ グリッドの表示に対して追加のプロパティを削除または追加したり、関連するコントロールのプロパティをシャドウしたりするために、デザイナーによって使用されます。 |
RaiseComponentChanged(MemberDescriptor, Object, Object) |
コンポーネントが変更されたことを IComponentChangeService に通知します。 (継承元 ComponentDesigner) |
RaiseComponentChanging(MemberDescriptor) |
コンポーネントが変更されようとしていることを IComponentChangeService に通知します。 (継承元 ComponentDesigner) |
RaiseResizeEvent() |
古い.
OnControlResize() イベントを発生させます。 (継承元 ControlDesigner) |
RegisterClone(Object, Object) |
複製が作成されたコントロールの内部データを登録します。 (継承元 ControlDesigner) |
SetEditableDesignerRegionContent(EditableDesignerRegion, String) |
デザイン時にコントロールの編集可能領域の内容を指定します。 (継承元 ControlDesigner) |
SetRegionContent(EditableDesignerRegion, String) |
コントロールのデザイン時ビューの編集可能領域の内容を指定します。 (継承元 ControlDesigner) |
SetViewFlags(ViewFlags, Boolean) |
指定したビットごとの ViewFlags 列挙体を指定したフラグ値に割り当てます。 (継承元 ControlDesigner) |
ToString() |
現在のオブジェクトを表す文字列を返します。 (継承元 Object) |
UpdateDesignTimeHtml() |
GetDesignTimeHtml メソッドを呼び出して、関連付けられている Web サーバー コントロールのデザイン時 HTML マークアップを更新します。 (継承元 ControlDesigner) |
明示的なインターフェイスの実装
適用対象
こちらもご覧ください
.NET
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示