2025-07-19 11:11:01 +08:00
|
|
|
<ui:ContentDialog x:Class="DMS.WPF.Views.Dialogs.ConfirmDialog"
|
2025-07-01 21:34:20 +08:00
|
|
|
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"
|
|
|
|
|
xmlns:ikw="http://schemas.inkore.net/lib/ui/wpf"
|
|
|
|
|
xmlns:ui="http://schemas.inkore.net/lib/ui/wpf/modern"
|
2025-07-18 19:56:00 +08:00
|
|
|
xmlns:vmd="clr-namespace:DMS.ViewModels.Dialogs"
|
|
|
|
|
xmlns:vc="clr-namespace:DMS.ValueConverts"
|
|
|
|
|
xmlns:ex="clr-namespace:DMS.Extensions"
|
2025-07-18 22:21:16 +08:00
|
|
|
xmlns:en="clr-namespace:DMS.Core.Enums"
|
2025-07-01 21:34:20 +08:00
|
|
|
Title="{Binding Title}"
|
|
|
|
|
CloseButtonText="取消"
|
|
|
|
|
DefaultButton="Primary"
|
|
|
|
|
PrimaryButtonText="{Binding PrimaryButtonText}"
|
|
|
|
|
Background="#fff"
|
|
|
|
|
d:DataContext="{d:DesignInstance vmd:ConfrimDialogViewModel}"
|
|
|
|
|
mc:Ignorable="d">
|
|
|
|
|
<ui:ContentDialog.Resources>
|
|
|
|
|
|
|
|
|
|
</ui:ContentDialog.Resources>
|
|
|
|
|
|
2025-07-03 22:16:47 +08:00
|
|
|
<Grid Width="360"
|
2025-07-01 21:34:20 +08:00
|
|
|
Margin="10">
|
|
|
|
|
<TextBlock Margin="20"
|
2025-07-03 22:16:47 +08:00
|
|
|
FontSize="14"
|
|
|
|
|
TextWrapping="Wrap"
|
2025-07-01 21:34:20 +08:00
|
|
|
FontWeight="Bold"
|
|
|
|
|
Text="{Binding Message}">
|
|
|
|
|
</TextBlock>
|
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
|
|
</ui:ContentDialog>
|