【发布时间】:2023-03-27 08:55:01
【问题描述】:
我在按钮单击事件中显示一个弹出窗口> 我在该弹出窗口中保留了一个自定义用户控件,因此每当显示弹出窗口时都会显示自定义用户控件。但现在我需要修改自定义控件。 弹出窗口中的当前自定义控件如下所示
但我需要角落看起来像下图.. 怎么做.?我需要控制中的那个尖角,并且每当显示弹出窗口时我都需要那个尖角点
bolow 按钮的代码及其弹出窗口
<telerik:RadButton Name="btnH" Grid.Column="1" HorizontalAlignment="Left" Margin="444,56,0,0" Grid.Row="2" VerticalAlignment="Top"
Width="23" Height="23" BorderThickness="6" BorderBrush="#4E4E4E" Click="btnH_Click" >
<Image Source="Images/help.png" />
</telerik:RadButton>
<Popup PopupAnimation="Fade" Placement="Mouse" AllowsTransparency="True" StaysOpen="False" x:Name="TooltipPopup" >
<Border Background="AntiqueWhite" CornerRadius="0" BorderThickness="1">
<StackPanel Margin="1" Orientation="Horizontal" >
<local:UCToolTip></local:UCToolTip>
</StackPanel>
</Border>
</Popup>
【问题讨论】: