Binding.IsBinding Binding.IsBinding Binding.IsBinding Binding.IsBinding Property

정의

바인딩이 활성화되어 있는지를 나타내는 값을 가져옵니다.Gets a value indicating whether the binding is active.

public:
 property bool IsBinding { bool get(); };
public bool IsBinding { get; }
member this.IsBinding : bool
Public ReadOnly Property IsBinding As Boolean

속성 값

true 바인딩이 활성화 되어 있는 경우 그렇지 않으면 false합니다.true if the binding is active; otherwise, false.

예제

다음 코드 예제에서는 출력을 PropertyNameIsBinding 각각에 대 한 값 Binding 양식의 합니다.The following code example prints the PropertyName and IsBinding value for each Binding on a form.

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

설명

바인딩이 이러한 조건을 만족 하는 경우 활성화 됩니다.A binding is active when it meets these conditions:

적용 대상