Skip to main content

Bind(AvaloniaProperty, IBinding) Method

Binds a AvaloniaProperty to an IBinding.

Definition

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

public BindingExpressionBase Bind(
AvaloniaProperty property,
IBinding binding
)

Parameters

  AvaloniaProperty
The property.
  IBinding
The binding.

Return Value

BindingExpressionBase
The binding expression which represents the binding instance on this object.

See Also

Reference

AvaloniaObject Class
Bind Overload
Avalonia Namespace