7 instantiations of ToolTip
PresentationFramework (5)
src\Framework\System\Windows\Controls\PopupControlService.cs (1)
499
_currentToolTip = new
ToolTip
();
src\Framework\System\Windows\Controls\Slider.cs (2)
853
_autoToolTip = new
ToolTip
();
888
_autoToolTip = new
ToolTip
();
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
10409
bamlType.DefaultConstructor = delegate() { return new System.Windows.Controls.
ToolTip
(); };
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
1615
case KnownElements.ToolTip: o = new System.Windows.Controls.
ToolTip
(); break;
System.Activities.Core.Presentation (1)
System\Activities\Core\Presentation\FlowchartDesigner.xaml.cs (1)
948
ToolTip toolTip = new
ToolTip
();
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\View\DataGridHelper.cs (1)
1519
var errorTip = new
ToolTip
()
73 references to ToolTip
PresentationFramework (70)
src\Framework\System\Windows\Automation\Peers\ToolTipAutomationPeer.cs (1)
14
public ToolTipAutomationPeer(
ToolTip
owner) : base(owner)
src\Framework\System\Windows\Controls\PopupControlService.cs (30)
162
InspectElementForToolTip(directlyOver as DependencyObject,
ToolTip
.ToolTipTrigger.Mouse);
172
InspectElementForToolTip(focusedElement as DependencyObject,
ToolTip
.ToolTipTrigger.KeyboardFocus);
244
result = InspectElementForToolTip(focusedElement as DependencyObject,
ToolTip
.ToolTipTrigger.KeyboardShortcut);
284
private bool InspectElementForToolTip(DependencyObject o,
ToolTip
.ToolTipTrigger triggerAction)
290
bool fromKeyboard = triggerAction ==
ToolTip
.ToolTipTrigger.KeyboardFocus ||
291
triggerAction ==
ToolTip
.ToolTipTrigger.KeyboardShortcut;
340
else if (LastMouseOverWithToolTip == null || triggerAction !=
ToolTip
.ToolTipTrigger.KeyboardFocus)
346
if (triggerAction ==
ToolTip
.ToolTipTrigger.Mouse)
374
private bool LocateNearestToolTip(ref DependencyObject o,
ToolTip
.ToolTipTrigger triggerAction, ref bool showToolTip)
491
ToolTip
tip = tooltip as
ToolTip
;
508
_currentToolTip.SetBinding(
ToolTip
.ContentProperty, binding);
605
BindingOperations.ClearBinding(_currentToolTip,
ToolTip
.ContentProperty);
619
ToolTip
toolTip = (
ToolTip
)sender;
627
ToolTip
toolTip = (
ToolTip
)sender;
635
BindingOperations.ClearBinding(toolTip,
ToolTip
.ContentProperty);
643
ToolTip
toolTip = (
ToolTip
)_forceCloseTimer.Tag;
1065
internal
ToolTip
CurrentToolTip
1158
else if (o is
ToolTip
)
1160
o.CoerceValue(
ToolTip
.HorizontalOffsetProperty);
1161
o.CoerceValue(
ToolTip
.VerticalOffsetProperty);
1162
o.CoerceValue(
ToolTip
.PlacementTargetProperty);
1163
o.CoerceValue(
ToolTip
.PlacementRectangleProperty);
1164
o.CoerceValue(
ToolTip
.PlacementProperty);
1165
o.CoerceValue(
ToolTip
.HasDropShadowProperty);
1182
else if (dp ==
ToolTip
.PlacementTargetProperty || dp == ContextMenu.PlacementTargetProperty)
1213
private
ToolTip
_currentToolTip;
src\Framework\System\Windows\Controls\Primitives\Popup.cs (2)
900
Debug.Assert(!bindTreatMousePlacementAsBottomProperty || child is
ToolTip
, "child must be a Tooltip to bind TreatMousePlacementAsBottomProperty");
2686
|| (this.Child is
ToolTip
)
src\Framework\System\Windows\Controls\Slider.cs (1)
1385
private
ToolTip
_autoToolTip = null;
src\Framework\System\Windows\Controls\ToolTip.cs (22)
39
DefaultStyleKeyProperty.OverrideMetadata(typeof(
ToolTip
), new FrameworkPropertyMetadata(typeof(
ToolTip
)));
40
_dType = DependencyObjectType.FromSystemTypeInternal(typeof(
ToolTip
));
41
BackgroundProperty.OverrideMetadata(typeof(
ToolTip
), new FrameworkPropertyMetadata(SystemColors.InfoBrush));
42
FocusableProperty.OverrideMetadata(typeof(
ToolTip
), new FrameworkPropertyMetadata(false));
72
typeof(
ToolTip
),
105
ToolTipService.HorizontalOffsetProperty.AddOwner(typeof(
ToolTip
),
136
ToolTipService.VerticalOffsetProperty.AddOwner(typeof(
ToolTip
),
170
typeof(
ToolTip
),
178
ToolTip
t = (
ToolTip
) d;
217
typeof(
ToolTip
),
223
ToolTip
tt = (
ToolTip
)d;
247
ToolTipService.PlacementTargetProperty.AddOwner(typeof(
ToolTip
),
272
ToolTipService.PlacementRectangleProperty.AddOwner(typeof(
ToolTip
),
296
ToolTipService.PlacementProperty.AddOwner(typeof(
ToolTip
),
321
Popup.CustomPopupPlacementCallbackProperty.AddOwner(typeof(
ToolTip
));
340
Popup.StaysOpenProperty.AddOwner(typeof(
ToolTip
));
360
EventManager.RegisterRoutedEvent("Opened", RoutingStrategy.Bubble, typeof(RoutedEventHandler), typeof(
ToolTip
));
391
EventManager.RegisterRoutedEvent("Closed", RoutingStrategy.Bubble, typeof(RoutedEventHandler), typeof(
ToolTip
));
494
newContent is
ToolTip
)
src\Framework\System\Windows\Controls\ToolTipService.cs (8)
636
if (e.TriggerAction !=
ToolTip
.ToolTipTrigger.KeyboardShortcut && PopupControlService.Current.StopLookingForToolTip(o))
655
private static bool ToolTipIsEnabled(DependencyObject o,
ToolTip
.ToolTipTrigger triggerAction)
663
ToolTip
tooltip = tooltipObject as
ToolTip
;
667
&& (triggerAction !=
ToolTip
.ToolTipTrigger.KeyboardFocus || enableOnKeyboardFocus))
721
internal FindToolTipEventArgs(
ToolTip
.ToolTipTrigger triggerAction)
739
internal
ToolTip
.ToolTipTrigger TriggerAction
757
private
ToolTip
.ToolTipTrigger _triggerAction;
src\Framework\System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
765
case 673: t = () => typeof(
ToolTip
); break;
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (3)
5970
Type type = typeof(System.Windows.Controls.
ToolTip
);
5971
DependencyProperty dp = System.Windows.Controls.
ToolTip
.ContentProperty;
5973
this.GetXamlType(typeof(System.Windows.Controls.
ToolTip
)), // DeclaringType
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
10407
typeof(System.Windows.Controls.
ToolTip
),
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
6217
case KnownElements.ToolTip: t = typeof(System.Windows.Controls.
ToolTip
); break;
System.Activities.Core.Presentation (1)
System\Activities\Core\Presentation\FlowchartDesigner.xaml.cs (1)
948
ToolTip
toolTip = new ToolTip();
System.Activities.Presentation (2)
System.Activities.Presentation\System\Activities\Presentation\View\DataGridHelper.cs (2)
1519
var
errorTip = new ToolTip()
1529
row.Dispatcher.BeginInvoke(new Action<
ToolTip
, DataGridRow>((tip, r) =>