BililiveRecorder/BililiveRecorder.WPF/Controls/DeleteRoomConfirmDialog.xaml
2021-02-27 13:24:18 +08:00

24 lines
1.2 KiB
XML

<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"
xmlns:l="https://github.com/XAMLMarkupExtensions/WPFLocalizationExtension"
l:LocalizeDictionary.DesignCulture=""
l:ResxLocalizationProvider.DefaultAssembly="BililiveRecorder.WPF"
l:ResxLocalizationProvider.DefaultDictionary="Strings"
xmlns:local="clr-namespace:BililiveRecorder.WPF.Controls"
xmlns:core="clr-namespace:BililiveRecorder.Core;assembly=BililiveRecorder.Core"
DefaultButton="Close"
PrimaryButtonText="{l:Loc Global_Delete}"
CloseButtonText="{l:Loc Global_Cancel}"
d:DataContext="{d:DesignInstance core:Room}"
mc:Ignorable="d">
<StackPanel>
<TextBlock TextAlignment="Center" FontSize="18" Text="{l:Loc DeleteRoomConfirmDialog_Title}" Margin="0,0,0,5"/>
<ContentControl Content="{Binding}" ContentTemplate="{StaticResource RoomDialogHeader}"/>
</StackPanel>
</ui:ContentDialog>