Table of Contents

Method TryGetValue

Namespace
Alternet.UI
Assembly
Alternet.UI.dll

TryGetValue(object, string, out object)

Find the binding that uses the given item and property, and return the value appropriate to the current validation step.

public bool TryGetValue(object item, string propertyName, out object value)

Parameters

item object
propertyName string
value object

Returns

bool

The method normally returns true and sets 'value' to the requested value. If the value is not available, the method returns false and sets 'value' to DependencyProperty.UnsetValue.