microsoft / XamlBehaviors

This is the official home for UWP XAML Behaviors on GitHub.
MIT License
697 stars 112 forks source link

Behavior<T>? #188

Closed weitzhandler closed 4 years ago

weitzhandler commented 4 years ago

Hi,

I'm working on a project that attempts to share code between WPF and UWP. It's supposed to manipulate mostly TextBoxes and other shared controls.

I want to develop behaviors targeting UI controls, and I have been used to do it with the Behavior<T> class.

I'm probably missing something, but why was this removed in the UWP version (this repo)?

Any chance to get it in?

This project seems much more active the its WPF counterpart. How about unifying them into one multi-targeting repo consolidating the missing bits from both?

skendrot commented 4 years ago

Behavior is available. It's in the Microsoft.Xaml.Interactivity namespace.

weitzhandler commented 4 years ago

😳 Was actually looking for it. Obviously not good enough. Thanks