Binding.IsBinding プロパティとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > Binding.IsBinding プロパティの意味・解説 

Binding.IsBinding プロパティ

バインディングアクティブかどうかを示す値を取得します

名前空間: System.Windows.Forms
アセンブリ: System.Windows.Forms (system.windows.forms.dll 内)
構文構文

解説解説

バインディングは、次の条件満たしている場合アクティブです。

使用例使用例

フォーム上のBinding の PropertyName 値および IsBinding 値を出力するコード例次に示します

Private Sub PrintBindingIsBinding
    Dim c As Control
    Dim b As Binding
    For Each c In Me.Controls
        For Each b in c.DataBindings
            Console.WriteLine (ControlChars.CrLf & c.ToString)
            Console.WriteLine (b.PropertyName & " IsBinding:
 " & _
                b.IsBinding)
        Next
    Next
End Sub
private void PrintBindingIsBinding()
{
   foreach(Control c in this.Controls)
   {
      foreach(Binding b in c.DataBindings)
      {
         Console.WriteLine("\n" + c.ToString());
         Console.WriteLine(b.PropertyName + " IsBinding: " 
             + b.IsBinding);
      }
   }
}

private:
   void PrintBindingIsBinding()
   {
      for each ( Control^ c in this->Controls
 )
      {
         for each ( Binding^ b in c->DataBindings
 )
         {
            Console::WriteLine( "\n {0}", c );
            Console::WriteLine( "{0} IsBinding: {1}",
               b->PropertyName, b->IsBinding );
         }
      }
   }
private void PrintBindingIsBinding()
{
    for (int iCtr1 = 0; iCtr1 < this.get_Controls().get_Count();
 iCtr1++) {
        Control c = this.get_Controls().get_Item(iCtr1);
        for (int iCtr2 = 0; iCtr2 < c.get_DataBindings().get_Count();
 
            iCtr2++) {
            Binding b = c.get_DataBindings().get_Item(iCtr2);
            Console.WriteLine(("\n" + c.ToString()));
            Console.WriteLine((b.get_PropertyName() + " IsBinding: " 
                + b.get_IsBinding()));
        }
    }
} //PrintBindingIsBinding
private function PrintBindingIsBinding()
{
   for(var c : Control in this.Controls)
   {
      for(var b : Binding in c.DataBindings)
      {
         Console.WriteLine("\n" + c.ToString());
         Console.WriteLine(b.PropertyName + " IsBinding: " 
             + b.IsBinding);
      }
   }
}

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照


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

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

辞書ショートカット

すべての辞書の索引

Binding.IsBinding プロパティのお隣キーワード
検索ランキング

   

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



Binding.IsBinding プロパティのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

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

©2025 GRAS Group, Inc.RSS