Try It Yourself
Practice what you learned in this chapter in an interactive code playground.
The interactive playground at the end of this lesson contains a .NET MAUI project that was set up with a Shell application that implements a flyout behavior. We can apply modifications to it and see how they would affect the structure of the compiled application. We'll do so by applying the following steps:
Making the
Activated
event visible.Applying data binding in C# code.
Creating custom bindable properties.
Creating custom attached properties.
Applying gesture controls.
Making the Activated
event visible
We'll add a pop-up to the app that displays when the Activated
event is triggered. To do this, we can apply the following Activated
event on the window
object inside the AppShell.xaml.cs
file:
Get hands-on with 1200+ tech skills courses.