Skip to main content

Apply(AvaloniaObject, AvaloniaProperty, InstancedBinding) Method

Obsolete.

Note: This API is now obsolete.

Applies an InstancedBinding a property on an AvaloniaObject.

Definition​

Namespace: Avalonia.Data
Assembly: Avalonia.Base (in Avalonia.Base.dll)

[ObsoleteAttribute("This API may be removed in Avalonia 12. If you depend on this API, please open an issue with details of your use-case.")]
public static IDisposable Apply(
AvaloniaObject target,
AvaloniaProperty property,
InstancedBinding binding
)

Parameters​

  AvaloniaObject
The target object.
  AvaloniaProperty
The property to bind.
  InstancedBinding
The instanced binding.

Return Value​

IDisposable
An IDisposable which can be used to cancel the binding.

See Also​

Reference​

BindingOperations Class
Apply Overload
Avalonia.Data Namespace