BindingOperationsGetBindingExpressionBase Method

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

Definition

Namespace: Avalonia.Data
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public static BindingExpressionBase? GetBindingExpressionBase(
	AvaloniaObject target,
	AvaloniaProperty property
)

Parameters

target  AvaloniaObject
The AvaloniaObject from which to retrieve the binding expression.
property  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