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"
|
|
|
|
xmlns:mock="clr-namespace:BililiveRecorder.WPF.MockData"
|
|
|
|
DefaultButton="Close"
|
2021-01-04 14:01:11 +08:00
|
|
|
PrimaryButtonText="{l:Loc Global_Delete}"
|
|
|
|
CloseButtonText="{l:Loc Global_Cancel}"
|
2020-11-27 18:51:02 +08:00
|
|
|
d:DataContext="{d:DesignInstance Type=mock:MockRecordedRoom,IsDesignTimeCreatable=True}"
|
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"/>
|
2020-12-10 17:02:56 +08:00
|
|
|
<TextBlock VerticalAlignment="Center" Style="{DynamicResource SubtitleTextBlockStyle}" FontFamily="Microsoft Yahei" TextWrapping="NoWrap" HorizontalAlignment="Center"
|
2020-11-27 18:51:02 +08:00
|
|
|
TextAlignment="Center" TextTrimming="CharacterEllipsis" Text="{Binding StreamerName,Mode=OneWay}" ToolTip="{Binding StreamerName,Mode=OneWay}"/>
|
|
|
|
<StackPanel VerticalAlignment="Center" HorizontalAlignment="Center" Orientation="Horizontal" Grid.Row="1" Grid.ColumnSpan="2" Margin="5,0,0,0">
|
2020-12-10 17:02:56 +08:00
|
|
|
<ui:PathIcon Height="10" Style="{StaticResource PathIconDataUpperCaseIdentifier}" />
|
|
|
|
<TextBlock Text="{Binding RoomId, StringFormat=\{0\},Mode=OneWay}" Margin="4,0"/>
|
|
|
|
<ui:PathIcon Height="10" Style="{StaticResource PathIconDataLowerCaseIdentifier}" Margin="3,0"
|
|
|
|
Visibility="{Binding ShortRoomId,Converter={StaticResource ShortRoomIdToVisibilityConverter}}"/>
|
|
|
|
<TextBlock Text="{Binding ShortRoomId, StringFormat=\{0\},Mode=OneWay}"
|
|
|
|
Visibility="{Binding ShortRoomId,Converter={StaticResource ShortRoomIdToVisibilityConverter}}"/>
|
2020-11-27 18:51:02 +08:00
|
|
|
</StackPanel>
|
|
|
|
</StackPanel>
|
|
|
|
</ui:ContentDialog>
|