Bewerken

Delen via


MultiBinding.Bindings Property

Definition

Gets the collection of Binding objects within this MultiBinding instance.

public:
 property System::Collections::ObjectModel::Collection<System::Windows::Data::BindingBase ^> ^ Bindings { System::Collections::ObjectModel::Collection<System::Windows::Data::BindingBase ^> ^ get(); };
public System.Collections.ObjectModel.Collection<System.Windows.Data.BindingBase> Bindings { get; }
member this.Bindings : System.Collections.ObjectModel.Collection<System.Windows.Data.BindingBase>
Public ReadOnly Property Bindings As Collection(Of BindingBase)

Property Value

A collection of Binding objects. MultiBinding currently supports only objects of type Binding and not MultiBinding or PriorityBinding. Adding a Binding child to a MultiBinding object implicitly adds the child to the BindingBase collection for the MultiBinding object.

Remarks

Note

This property can be set in Extensible Application Markup Language (XAML) only by using the syntax that is shown, or by accessing the collection object and using its various methods, such as Add. The property used to access the collection object is read-only, whereas the collection itself is read/write.

XAML Property Element Usage

<object>  
  oneOrMoreBindings  
</object>  

XAML Values

oneOrMoreBindings
One or more Binding objects.

Applies to