<controls1:DockPanel
    x:Class="Pixeval.Controls.FlyoutContent.CommentRepliesBlock"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:controls="using:Pixeval.Controls"
    xmlns:controls1="using:CommunityToolkit.WinUI.Controls"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:local="using:Pixeval.Controls.FlyoutContent"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d">
    <controls:PixivReplyBar
        x:Name="ReplyBar"
        Margin="10"
        controls1:DockPanel.Dock="Bottom"
        SendButtonClick="ReplyBar_OnSendButtonClick"
        StickerClick="ReplyBar_OnStickerClick" />
    <!--  ReSharper disable once UnusedMember.Local  -->
    <controls:CommentView
        x:Name="CommentView"
        HasNoItem="{x:Bind controls:C.Negation(ViewModel.RepliesIsNotNull), Mode=OneWay}"
        ItemsSource="{x:Bind ViewModel.Replies, Mode=OneWay}"
        OpenRepliesButtonClick="CommentView_OnOpenRepliesButtonClick"
        DeleteButtonClick="CommentView_OnDeleteButtonClick"
        RequireEntryType="CommentView_OnRequireEntryType" />
</controls1:DockPanel>
