BililiveRecorder/BililiveRecorder.WPF/Controls/DeleteRoomConfirmDialog.xaml

24 lines
1.2 KiB
Plaintext
Raw Normal View History

2020-11-27 18:51:02 +08:00
<ui:ContentDialog
x:Class="BililiveRecorder.WPF.Controls.DeleteRoomConfirmDialog"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:ui="http://schemas.modernwpf.com/2019"
2021-01-04 14:01:11 +08:00
xmlns:l="https://github.com/XAMLMarkupExtensions/WPFLocalizationExtension"
l:LocalizeDictionary.DesignCulture=""
l:ResxLocalizationProvider.DefaultAssembly="BililiveRecorder.WPF"
l:ResxLocalizationProvider.DefaultDictionary="Strings"
2020-11-27 18:51:02 +08:00
xmlns:local="clr-namespace:BililiveRecorder.WPF.Controls"
2021-02-27 13:24:18 +08:00
xmlns:core="clr-namespace:BililiveRecorder.Core;assembly=BililiveRecorder.Core"
2020-11-27 18:51:02 +08:00
DefaultButton="Close"
2021-01-04 14:01:11 +08:00
PrimaryButtonText="{l:Loc Global_Delete}"
CloseButtonText="{l:Loc Global_Cancel}"
2021-02-27 13:24:18 +08:00
d:DataContext="{d:DesignInstance core:Room}"
2021-01-04 14:01:11 +08:00
mc:Ignorable="d">
2020-11-27 18:51:02 +08:00
<StackPanel>
2021-01-04 14:01:11 +08:00
<TextBlock TextAlignment="Center" FontSize="18" Text="{l:Loc DeleteRoomConfirmDialog_Title}" Margin="0,0,0,5"/>
2021-02-27 13:24:18 +08:00
<ContentControl Content="{Binding}" ContentTemplate="{StaticResource RoomDialogHeader}"/>
2020-11-27 18:51:02 +08:00
</StackPanel>
</ui:ContentDialog>