Apply(AvaloniaObject, AvaloniaProperty, InstancedBinding) Method
Obsolete.
This API may be removed in Avalonia 12. If you depend on this API, please open an issue with details of your use-case.
Applies an InstancedBinding a property on an AvaloniaObject.
Definition
Namespace: Avalonia.Data
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
[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
)
<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 Shared Function Apply (
target As AvaloniaObject,
property As AvaloniaProperty,
binding As InstancedBinding
) As IDisposable
[<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.")>]
static member Apply :
target : AvaloniaObject *
property : AvaloniaProperty *
binding : InstancedBinding -> IDisposable
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