Skip to main content

GetDynamicValue(Object, Boolean) Method

Updates the data context of the framework element and returns the updated binding value.

Definition

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

public T GetDynamicValue(
Object o,
bool clearDataContext
)
View Source

Parameters

  Object
The object to use as the data context.
  Boolean
If set to true, this parameter will clear the data context immediately after retrieving the value.

Return Value

T
Returns the evaluated T value of the bound dependency property.

See Also

Reference

AutoCompleteBox.BindingEvaluator(T) Class
GetDynamicValue Overload
Avalonia.Controls Namespace