mirror of
https://github.com/PrismLibrary/Prism.git
synced 2026-10-19 23:19:59 +08:00
aac688c354
Migrates the Uno Platform E2E sample application from a multi-project structure to the recommended single-project architecture. This update consolidates platform-specific heads into the main `HelloWorld` project and introduces a new `Playground.Module` to showcase Prism for Uno.WinUI features like regions, dialogs, and modularity within the streamlined project setup. It also updates the target framework to .NET 10.
17 lines
699 B
XML
17 lines
699 B
XML
<UserControl
|
|
x:Class="Playground.Module.Dialogs.NotificationDialog"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
mc:Ignorable="d"
|
|
d:DesignHeight="300"
|
|
d:DesignWidth="400">
|
|
|
|
<StackPanel Padding="12" Spacing="8">
|
|
<TextBlock Text="{Binding Title}" FontWeight="SemiBold" />
|
|
<TextBlock Text="{Binding Message}" TextWrapping="Wrap" />
|
|
<Button Content="OK" HorizontalAlignment="Right" Command="{Binding CloseCommand}" />
|
|
</StackPanel>
|
|
</UserControl>
|