No one has yet mentioned creating reusable components in MAUI and this is exactly what I was looking for. Awesome video and channel. Here is one question: how can a method be delegated to the master component, and how can the master component return a value to that delegated method?
Thank you , Hi I think you can create bindable command and command parameter property in master component and that two property you can bind from any child pages, and from there you can inovke it.
Pragnesh, if I have a .NET Maui Blazor app with a tabbedpage as main page. How can I bind fields to the contentpage in the tabbedpage to for example the Contentpage Title? I tried doing this in your video with the MainPage but it just went black.
Thanks for sharing the demo, great tutorial. 👍 a quick question can the content be replaced in content presenter without navigation to pages like we do in SPA apps? If yes request you to share the demo with us.
Hi Sandeep, For SPA (Single Page Application) You can to manage navigation flow manually, Either you can create a base control with content view and dynamically replace the content based on requirement , Or You Can set always new Page as MainPage (App.Current.MainPage = new PageName())
@@ProgrammingWithPragnesh thanks for your reply. Since I am new to maui and learning from scratch.. it would be great if you can share any references document/repo or if you can plan to cover this topic in your upcoming videos that would be great and much appreciated. Thanks in advance
Hey thanks for this video. I have one question how to access buttons from header and footer using this master content page I am trying to navigate to the next page after I click on next button from footer . so can you please help me
Hi Preeti, You can create bindable command for header button and footer button, and that command you can execute on any pages, and on command execution just navigate to whatever page you want.
@@ProgrammingWithPragnesh Hello, I tried to bind command for button in footer. But it is not working.. It is working fine for middle part... but it is not working for header and footer