<Window x:Class="WPF控件_7_Popup.MainWindow"
        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"
        mc:Ignorable="d"
        Title="WPF控件_7_Popup" Height="450" Width="800">
    <StackPanel>
        <TextBlock TextWrapping="Wrap">
            那年国破，皇上自缢，将军带着妻子出逃。行至十里镇，和妻子被伏兵暗算，双双中箭。香消玉殒前，妻子爬向他低语：“若来世你我皆为人，再做夫妻。若只你为人，我便做那每天陪你之物。”说罢气绝。“后来呢？”小和尚睁着眼问道。方丈默默地转着手串上那唯一的一颗念珠，青灯幽暗，不言不语。
            <Run Foreground="Red" TextDecorations="UnderLine" MouseEnter="ContentElement_OnMouseEnter">这个有提示的</Run>
        </TextBlock>
        
        <Popup Name="PopupLink" StaysOpen="False" Placement="Mouse" MaxWidth="200" PopupAnimation="Slide" AllowsTransparency="True">
            <Border BorderBrush="Beige" BorderThickness="2" Background="White">
                <TextBlock Margin="10" TextWrapping="Wrap">
                    小兔子画面生成
                    <Hyperlink NavigateUri="https://www.baidu.com/" Click="Hyperlink_OnClick">打开</Hyperlink>
                </TextBlock>
            </Border>
        </Popup>
    </StackPanel>
</Window>