Modals / Popups - WPF MVVM NAVIGATION TUTORIAL #7

Modals / Popups - WPF MVVM NAVIGATION TUTORIAL #7

SingletonSean

3 года назад

16,098 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@ShiLe97
@ShiLe97 - 01.11.2023 17:27

My modal got squeezed in my view and it stretches as i type username or password, any idea how to make it fixed size? I used your package.

Ответить
@jamesdraughn5072
@jamesdraughn5072 - 14.10.2023 00:00

To make it easier when replacing the INavigationService<SomeClass> with just INavigationService, I did a regex search and replace for the entire project.
Searching for: INavigationService<.*>
Replace with INavigationService
Make sure the 'User Regular Expression' button is checked on the Search and Replace window (Ctl-H), along with 'Current Project' in the drop-down box.

Ответить
@simonlester4316
@simonlester4316 - 12.08.2023 10:16

Hi, would you consider doing a series on ASP Net Core App, API ???

Ответить
@DonaldFranciszekTusk
@DonaldFranciszekTusk - 11.07.2023 02:18

Ooh. Complicated for a beginner, even for more than a beginner

Ответить
@PedroMartins-vj2zz
@PedroMartins-vj2zz - 18.10.2022 19:05

Hey Sean,
I have been following your work for about a year now and they've helped me a lot! Thank you so much!

In the case of this video I just have one question: What if I just want to use a Modal to display "warnings", like in cases I don't have a view model linked to the view?

Ответить
@SoloEnLaCasa
@SoloEnLaCasa - 17.10.2022 16:57

great that you share your knowledge with the community.

Question: POPUP as a window and not as an UserControl.
Is it possible to use a popup modal view as a WINDOW and not as an UserControl, I know that WPF + MVVM uses Views and they are mapped in the MainWindow, but is it possible to launch a second WINDOW  without violating the concept of WPF + MVVM?

Do you have any idea or a possible solution, how to do this challenge?

Thank you very much for your response
take care

Ответить
@silviortiz15
@silviortiz15 - 26.07.2022 20:28

Great video Sean! Is there a way to make this modal into an actual window that can be dragged, minimized or closed independently. (Similar to a MessageBox) My wpf app could be running multiple long command asynchronously and I would like to use popup windows when exceptions are raised. So if multiple commands fail to complete I would get one modal pop up for each. I'm not sure this framework is adequate for my use case.

Ответить
@wvvwwwvvw
@wvvwwwvvw - 13.06.2022 16:45

Hi Sean. How do you modify the UI details of the modal? Eg I dont want the CornerRadius to be 5 and remove the shadows, but the customControl does not allow me to change those attributes? Thanks

Ответить
@InfiniteFreeTrial1
@InfiniteFreeTrial1 - 02.06.2022 20:26

Hi Sean, Great work, If I've a "Cancel" button in the LoginView, I did the "CancelCommand" property in the LoginViewModel. How do I Close the current modal from that button?!
I tried many times to close it but I don't get it. any help here ?

Ответить
@Speede04
@Speede04 - 14.05.2022 20:35

Hey, great series and I really appreciate that you've made NuGet package to make our lives easier, but latest version of SimpleModel.WPF is for .NetCore 3.1 and does not work with newest, are you going to update it? :D

Ответить
@vladmartian
@vladmartian - 13.09.2021 14:11

How about when I need to know the return action from the modal? How should I takle this?

Ответить
@benedictpardo6366
@benedictpardo6366 - 23.08.2021 09:30

Swoosh! Coming back to the series then found out that we now have nuget packages made from the series, makes it easier for new devs trying out WPF! Props to you Sean! Thanks!

Ответить
@MrBa143
@MrBa143 - 30.07.2021 15:56

Hi Sean. Suppose i have a modal that functions as a Alert with a Continue command. This alert modal is displayed from two diffterent views when navigating, which also means that the modal should be able to close and redirect to two (or more) different viewmodels.

View A -> Alert Modal -> Close -> View B
View G -> Alert Modal -> Close -> View F

Would this somehow be an easy extension to make? I cant seem to wrap my head around it. Pass the target viewmodel to somewhere, somehow? Or set CurrentViewModel & the CurrentModalViewModel at the same time, and then just close the modal on 'Continue'

Ответить
@tanzib82
@tanzib82 - 22.07.2021 16:50

Hello Sean, me again. I had a question. is there way to open a modal on top of another modal. i.e. stack modals?

Ответить
@mcnets
@mcnets - 19.06.2021 20:20

Hi Sean, nice video again. Thanks for share it. I missed the video where you build the Modal nuget package. I'm looking forward to see it.

Ответить