Skip to main content

GetBindingExpressionBase Method

Retrieves the BindingExpressionBase that is currently active on the specified property.

Definition​

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

public static BindingExpressionBase? GetBindingExpressionBase(
AvaloniaObject target,
AvaloniaProperty property
)

Parameters​

  AvaloniaObject
The AvaloniaObject from which to retrieve the binding expression.
  AvaloniaProperty
The binding target property from which to retrieve the binding expression.

Return Value​

BindingExpressionBase
The BindingExpressionBase object that is active on the given property or null if no binding expression is active on the given property.

See Also​

Reference​

BindingOperations Class
Avalonia.Data Namespace