samedi 26 février 2022

Is CodeBehind Bad Practice for Every WPF UI Design? [closed]

Recently I am doing a WPF class library, and I come out a question about XAML Code Behind. I know MVVM is a good practice for UI creation as it could help to better maintain the code, easy to modify when changes is needed, and easy to change UI platform.

But now I am doing a class library target only for WPF, can I use code behind to do it? Is it still a bad practice for WPF UI design?

Help needed, thanks in advance! :)

Aucun commentaire:

Enregistrer un commentaire