1 instantiation of PopupControlService
PresentationFramework (1)
System\Windows\FrameworkElement.cs (1)
5839
_popupControlService = new
PopupControlService
();
28 references to PopupControlService
PresentationFramework (28)
System\Windows\Controls\ContextMenu.cs (8)
83
return
PopupControlService
.CoerceProperty(d, value, ContextMenuService.HorizontalOffsetProperty);
107
return
PopupControlService
.CoerceProperty(d, value, ContextMenuService.VerticalOffsetProperty);
176
return
PopupControlService
.CoerceProperty(d, value, ContextMenuService.PlacementTargetProperty);
200
return
PopupControlService
.CoerceProperty(d, value, ContextMenuService.PlacementRectangleProperty);
223
return
PopupControlService
.CoerceProperty(d, value, ContextMenuService.PlacementProperty);
254
return
PopupControlService
.CoerceProperty(d, value, ContextMenuService.HasDropShadowProperty);
310
public static readonly RoutedEvent OpenedEvent =
PopupControlService
.ContextMenuOpenedEvent.AddOwner(typeof(ContextMenu));
339
public static readonly RoutedEvent ClosedEvent =
PopupControlService
.ContextMenuClosedEvent.AddOwner(typeof(ContextMenu));
System\Windows\Controls\ContextMenuService.cs (1)
423
if (
PopupControlService
.IsElementEnabled(o) || GetShowOnDisabled(o))
System\Windows\Controls\PopupControlService.cs (5)
947
EventManager.RegisterRoutedEvent("Opened", RoutingStrategy.Bubble, typeof(RoutedEventHandler), typeof(
PopupControlService
));
954
EventManager.RegisterRoutedEvent("Closed", RoutingStrategy.Bubble, typeof(RoutedEventHandler), typeof(
PopupControlService
));
1177
internal static
PopupControlService
Current
1232
typeof(
PopupControlService
), // Owner
1241
typeof(
PopupControlService
), // Owner
System\Windows\Controls\Primitives\MenuBase.cs (1)
425
curr =
PopupControlService
.FindParent(curr);
System\Windows\Controls\ToolTip.cs (9)
88
return
PopupControlService
.CoerceProperty(d, value, ToolTipService.HorizontalOffsetProperty);
119
return
PopupControlService
.CoerceProperty(d, value, ToolTipService.VerticalOffsetProperty);
207
return
PopupControlService
.CoerceProperty(d, value, ToolTipService.HasDropShadowProperty);
230
return
PopupControlService
.CoerceProperty(d, value, ToolTipService.PlacementTargetProperty);
255
return
PopupControlService
.CoerceProperty(d, value, ToolTipService.PlacementRectangleProperty);
279
return
PopupControlService
.CoerceProperty(d, value, ToolTipService.PlacementProperty);
477
PopupControlService
popupControlService =
PopupControlService
.Current;
488
(bool)GetValue(
PopupControlService
.ServiceOwnedProperty) &&
System\Windows\Controls\ToolTipService.cs (1)
621
if ((
PopupControlService
.IsElementEnabled(o) || GetShowOnDisabled(o)) && enableOnKeyboardFocus)
System\windows\Documents\TextEditor.cs (1)
543
PopupControlService
.Current.DismissToolTipsForOwner(_uiScope);
System\Windows\FrameworkElement.cs (2)
5843
internal
PopupControlService
_popupControlService;
5846
internal static
PopupControlService
PopupControlService