Загрузка...

Toggling Form Submission - FULL STACK WPF (.NET CORE) MVVM #32

I update the form buttons in the application to only be enabled when the user has entered the required form values. Implementing this solution requires knowledge of the ICommand interface and manually raising the CanExecute event when view model properties change. I look forward to extending this implementation to evaluate field validation, such as by ensuring the user provided a valid email in the login form's email field.

In this series, I walk through the development of a WPF application from the database layer to the UI layer.

TIMESTAMPS:
0:00 - Introduction
1:27 - Potential Solutions
2:37 - CanExecute Implementation
4:20 - Raising CanExecuteChanged
6:15 - Testing
6:39 - Finishing Other Command Use Cases
12:20 - Conclusion

SOURCE CODE: https://github.com/SingletonSean/SimpleTrader

FULL PLAYLIST: https://www.youtube.com/playlist?list=PLA8ZIAm2I03jSfo18F7Y65XusYzDusYu5

OTHER LINKS:
Donations: https://www.paypal.com/biz/fund?id=UBZCZWX2UVWJE

Видео Toggling Form Submission - FULL STACK WPF (.NET CORE) MVVM #32 канала SingletonSean
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять