mirror of
https://github.com/holgerb83/ModernWpfPlayground.git
synced 2025-12-14 16:16:24 +01:00
Reorganization of files
This commit is contained in:
21
App/ContentDialogExample.xaml
Normal file
21
App/ContentDialogExample.xaml
Normal file
@@ -0,0 +1,21 @@
|
||||
<ui:ContentDialog
|
||||
x:Class="ModernWpfPlayground.ContentDialogExample"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:ui="http://schemas.modernwpf.com/2019"
|
||||
x:Name="LayoutRoot"
|
||||
Title="Delete your work?"
|
||||
CloseButtonText="Cancel"
|
||||
DefaultButton="Close"
|
||||
IsShadowEnabled="True"
|
||||
PrimaryButtonText="Yes"
|
||||
SecondaryButtonText="No">
|
||||
<ui:SimpleStackPanel
|
||||
HorizontalAlignment="Stretch"
|
||||
VerticalAlignment="Stretch"
|
||||
Spacing="10">
|
||||
<!-- Content body -->
|
||||
<TextBlock Text="Delete message?" />
|
||||
<TextBlock TextWrapping="Wrap"><Run Text=""" /><Run Text="{Binding Message, ElementName=LayoutRoot}" /><Run Text=""" /></TextBlock>
|
||||
</ui:SimpleStackPanel>
|
||||
</ui:ContentDialog>
|
||||
Reference in New Issue
Block a user