feat: 在任务开始后的禁用组件内也能查看tooltip (#15186)

This commit is contained in:
yali-hzy
2025-12-24 01:02:26 +08:00
committed by GitHub
parent e0e037fd8d
commit 419d3a6711

View File

@@ -16,7 +16,8 @@
DataContext="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type UserControl}}}"
Style="{StaticResource BorderCircular}"
ToolTipService.InitialShowDelay="{Binding InitialShowDelay}"
ToolTipService.IsEnabled="{c:Binding !TooltipTextEmpty}">
ToolTipService.IsEnabled="{c:Binding !TooltipTextEmpty}"
ToolTipService.ShowOnDisabled="True">
<Border.ToolTip>
<TextBlock
MaxWidth="{Binding TooltipMaxWidth}"