Reputation: 370
I created a Xamarin solution and want to replace the UWP content by WPF.
In Xamarin I am using the Frame
class. Is there any equivalent to a Xamarin Frame
in WPF?
I can not find a documentation where this is described.
I am happy about any hint.
Upvotes: 3
Views: 270
Reputation: 169150
A Xamarin.Forms Frame is an element that contains a single child, with some framing options. You could basically achieve the same thing with a Border element in WPF:
<Border Padding="20" BorderBrush="Silver" BorderThickness="1" Background="Black"
HorizontalAlignment="Center" VerticalAlignment="Center">
<TextBlock Text="I've been framed!" />
</Border>
Upvotes: 3