How do I add a frame to my .NET MAUI page in XAML?

Platform: .NET MAUI| Category: Pages

You can add a frame to your XAML layout by using the element. For example:

XAML

<Frame CornerRadius="5" BorderColor="Black" 
                        	  HasShadow="True" 
                            HeightRequest="200" 
                            WidthRequest="200">        
            <Label Text="Frame wrapped around a Label" /> 
</Frame>

Share with

Related FAQs

Couldn't find the FAQs you're looking for?

Please submit your question and answer.