WPF .Net 6
-
I'm sure this is a silly question.... I'm trying to port some behaviors from .Net Framewor 4.7 to Core 6. This no longer compiles:
public class ComboBoxWatermarkBehavior : Behavior
.
.
.because it can't find Behavior<> From what I can see from Google results, I was missing Microsoft.Xaml.Behaviors.Wpf. I added the package but it didn't do anything. What am I missing here???
In theory, theory and practice are the same. But in practice, they never are.” If it's not broken, fix it until it is. Everything makes sense in someone's mind.
-
I'm sure this is a silly question.... I'm trying to port some behaviors from .Net Framewor 4.7 to Core 6. This no longer compiles:
public class ComboBoxWatermarkBehavior : Behavior
.
.
.because it can't find Behavior<> From what I can see from Google results, I was missing Microsoft.Xaml.Behaviors.Wpf. I added the package but it didn't do anything. What am I missing here???
In theory, theory and practice are the same. But in practice, they never are.” If it's not broken, fix it until it is. Everything makes sense in someone's mind.