即使设置了ToolTipService.ShowOnDisabled="True",禁用复选框上的提示工具仍然不可见。
<CheckBox Grid.Column="0" HorizontalAlignment="Center" Visibility="{Binding Converter={StaticResource TaskCompletionVisbilityConverter},ConverterParameter='chkbox'}"
Height="16" Width="16" Foreground="{Binding Converter={StaticResource TaskColorConverter}}"
ToolTipService.ShowOnDisabled="True" ToolTipService.IsEnabled="True"
ToolTip="Check To complete Task"
IsEnabled="{Binding State, Converter={StaticResource EnableDisableConverter},
ConverterParameter='checkbox',Mode=TwoWay}" Margin="37,5,0,0">
ToolTipService.ShowOnDisabled="True"
和ToolTipService.IsEnabled="True"
。我猜测工具提示应该是可见的,所以可能有其他东西隐藏了它。Pa1,你能提供更多关于你的XAML的细节吗? - Il Vic