❔ How To Refresh ContentPage Controls
When routing from the MainPage to my details page I pass in:
The detail page properly receives the passed parameter. But there is caveat. It is not available to OnLoaded is called.
The initial control values are nearly empty, except for DateTime, etc. Also, there are times when the passed parameters are null, and new detail item is being created. The BindingContext is set in the page constructor, and XAML references the x:DataType:
At this point my controls are blank. How do I ask the page to refresh?
Do I need to do so manually for each control?
2 Replies