Udostępnij za pośrednictwem


BindingOperations Class

Definition

Provides the static SetBinding method.

public ref class BindingOperations sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class BindingOperations final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class BindingOperations
Public NotInheritable Class BindingOperations
Inheritance
Object Platform::Object IInspectable BindingOperations
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Methods

SetBinding(DependencyObject, DependencyProperty, BindingBase)

Associates a Binding with a target property on a target object. This method is the code equivalent to using a {Binding} markup extension in XAML markup.

Applies to

See also