"Behavior SDK" can be included by right-clicking on References -> Add Reference -> Universal Windows -> Extensions -> Behavior SDK.
Some of the APIs have been changed, so Behavior<T>
is not there to inherit from (use DependencyObject, IBehavior
instead and implement the IBehavior
interface). Also VisualStateUtilities.TryFindNearestStatefulControl
is now VisualStateUtilities.FindNearestStatefulControl
. When I imported my old behaviors and couldn't resolve the references even with the Behavior SDK referenced, it made me think that the imports had not worked (especially since there is a warning about importing the Behavior SDK which claims it might not work - the link to find out more information is dead which hardly inspired confidence!).
Behavior<T>
base class was missing which made me think that it hadn't properly imported - I had to implement a behavior fromDependencyObject, IBehavior
from scratch but it works now. – Austriahungary