ComplexBindingPropertiesAttribute クラスとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > ComplexBindingPropertiesAttribute クラスの意味・解説 

ComplexBindingPropertiesAttribute クラス

メモ : このクラスは、.NET Framework version 2.0新しく追加されたものです。

複合データ バインディングサポートするコンポーネントデータ ソース プロパティおよびデータ メンバ プロパティ指定します。このクラス継承できません。

名前空間: System.ComponentModel
アセンブリ: System (system.dll 内)
構文構文

<AttributeUsageAttribute(AttributeTargets.Class)> _
Public NotInheritable Class
 ComplexBindingPropertiesAttribute
    Inherits Attribute
Dim instance As ComplexBindingPropertiesAttribute
[AttributeUsageAttribute(AttributeTargets.Class)] 
public sealed class ComplexBindingPropertiesAttribute
 : Attribute
[AttributeUsageAttribute(AttributeTargets::Class)] 
public ref class ComplexBindingPropertiesAttribute
 sealed : public Attribute
/** @attribute AttributeUsageAttribute(AttributeTargets.Class) */ 
public final class ComplexBindingPropertiesAttribute
 extends Attribute
AttributeUsageAttribute(AttributeTargets.Class) 
public final class ComplexBindingPropertiesAttribute
 extends Attribute
解説解説

ComplexBindingPropertiesAttribute使用して、System.Collections.IList に基づくバインディングなど、複合データ バインディング使用するプロパティ指定します

ComplexBindingPropertiesAttribute 属性は、クラス レベル指定されます。これは継承可能で、同じクラス複数属性使用することはできません。

コントロールは、DefaultBindingPropertyAttribute を使用して、単純バインディング複合バインディング両方サポートできます

属性使用方法については、「属性使用したメタデータ拡張」を参照してください

使用例使用例

ComplexBindingPropertiesAttribute使用してデータ バインディングのためにコントロールDataSource プロパティおよび DataMember プロパティ識別するコード例次に示しますコード全体については、「方法 : Windows フォーム コントロール属性適用する」を参照してください

' This control demonstrates a simple logging capability. 
<ComplexBindingProperties("DataSource", "DataMember"),
 _
DefaultBindingProperty("TitleText"), _
DefaultEvent("ThresholdExceeded"), _
DefaultProperty("Threshold"), _
HelpKeywordAttribute(GetType(UserControl)), _
ToolboxItem("System.Windows.Forms.Design.AutoSizeToolboxItem,System.Design")>
 _
Public Class AttributesDemoControl
    Inherits UserControl
// This control demonstrates a simple logging capability. 
[ComplexBindingProperties("DataSource", "DataMember")]
[DefaultBindingProperty("TitleText")]
[DefaultEvent("ThresholdExceeded")]
[DefaultProperty("Threshold")]
[HelpKeywordAttribute(typeof(UserControl))]
[ToolboxItem("System.Windows.Forms.Design.AutoSizeToolboxItem,System.Design")]
public class AttributesDemoControl : UserControl
{
継承階層継承階層
System.Object
   System.Attribute
    System.ComponentModel.ComplexBindingPropertiesAttribute
スレッド セーフスレッド セーフ
この型の public static (Visual Basic では Shared) メンバはすべて、スレッド セーフです。インスタンス メンバ場合は、スレッド セーフであるとは限りません。
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
ComplexBindingPropertiesAttribute メンバ
System.ComponentModel 名前空間
IList
BindableAttribute クラス
DefaultBindingPropertyAttribute
LookupBindingPropertiesAttribute


このページでは「.NET Framework クラス ライブラリ リファレンス」からComplexBindingPropertiesAttribute クラスを検索した結果を表示しています。
Weblioに収録されているすべての辞書からComplexBindingPropertiesAttribute クラスを検索する場合は、下記のリンクをクリックしてください。
 全ての辞書からComplexBindingPropertiesAttribute クラス を検索

英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

「ComplexBindingPropertiesAttribute クラス」の関連用語

ComplexBindingPropertiesAttribute クラスのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



ComplexBindingPropertiesAttribute クラスのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2025 Microsoft.All rights reserved.

©2025 GRAS Group, Inc.RSS