3 writes to _currentToolTip
PresentationFramework (3)
src\Framework\System\Windows\Controls\PopupControlService.cs (3)
494
_currentToolTip
= tip;
499
_currentToolTip
= new ToolTip();
608
_currentToolTip
= null;
22 references to _currentToolTip
PresentationFramework (22)
src\Framework\System\Windows\Controls\PopupControlService.cs (22)
407
if ((o == LastChecked) || (o == LastMouseOverWithToolTip) || (o ==
_currentToolTip
) || WithinCurrentToolTip(o))
419
if (
_currentToolTip
== null)
439
((v is Visual && ((Visual)v).IsDescendantOf(
_currentToolTip
)) ||
440
(v is Visual3D && ((Visual3D)v).IsDescendantOf(
_currentToolTip
)));
497
else if ((
_currentToolTip
== null) || !_ownToolTip)
501
_currentToolTip
.SetValue(ServiceOwnedProperty, BooleanBoxes.TrueBox);
508
_currentToolTip
.SetBinding(ToolTip.ContentProperty, binding);
511
if (!
_currentToolTip
.StaysOpen)
518
_currentToolTip
.SetValue(OwnerProperty, o);
519
_currentToolTip
.Opened += OnToolTipOpened;
520
_currentToolTip
.Closed += OnToolTipClosed;
521
_currentToolTip
.FromKeyboard = fromKeyboard;
522
_currentToolTip
.IsOpen = true;
558
if (
_currentToolTip
!= null)
560
bool isOpen =
_currentToolTip
.IsOpen;
577
_currentToolTip
.IsOpen = false;
582
if (
_currentToolTip
!= null)
589
_forceCloseTimer.Tag =
_currentToolTip
;
602
_currentToolTip
.ClearValue(OwnerProperty);
605
BindingOperations.ClearBinding(
_currentToolTip
, ToolTip.ContentProperty);
607
_currentToolTip
.FromKeyboard = false;
1069
return
_currentToolTip
;