Table of Contents

TryGetBinding

Methods
public bool TryGetBinding(Type componentType, string bindingName, out Binding returnBinding)

Get the first binding on the component of a specific type.

Parameters
Type Name Description
Type componentType

The component type (must derive from Component).

string bindingName

The name that identifies the binding.

Binding returnBinding

The binding, if found.

Returns
Type Description
bool

true if a binding is found. false otherwise.