Can't get Tooltip to update
Posted: 29 Dec 2019, 10:01
So I have a ToolTip on a Border. I've tried it several ways in XAML to make this work--this is the simplest:
I have INotifyPropertyChanged implemented on the ViewModel and OnPropertyChanged is firing for ToolTipText. But the ToolTip will just not update. It sticks with whatever is the value the first time it is opened.
Any ideas as to what I'm doing wrong or how I can get my ToolTip to update on a data change?
Thanks.
Code: Select all
<Border.ToolTip>
<Border BorderBrush="Black" BorderThickness="0" Background="OldLace">
<TextBlock Text="{Binding ToolTipText}" Foreground="Black" Padding="5" FontSize="18" />
</Border>
</Border.ToolTip>Any ideas as to what I'm doing wrong or how I can get my ToolTip to update on a data change?
Thanks.