public static StylizedBehaviorCollection GetBehaviors(DependencyObject uie) { return (StylizedBehaviorCollection)uie.GetValue(BehaviorsProperty); }