1 instantiation of PopupControlService
PresentationFramework (1)
src\Framework\System\Windows\FrameworkElement.cs (1)
5843
_popupControlService = new
PopupControlService
();
30 references to PopupControlService
PresentationFramework (30)
src\Framework\System\Windows\Controls\ContextMenu.cs (8)
95
return
PopupControlService
.CoerceProperty(d, value, ContextMenuService.HorizontalOffsetProperty);
119
return
PopupControlService
.CoerceProperty(d, value, ContextMenuService.VerticalOffsetProperty);
188
return
PopupControlService
.CoerceProperty(d, value, ContextMenuService.PlacementTargetProperty);
212
return
PopupControlService
.CoerceProperty(d, value, ContextMenuService.PlacementRectangleProperty);
235
return
PopupControlService
.CoerceProperty(d, value, ContextMenuService.PlacementProperty);
266
return
PopupControlService
.CoerceProperty(d, value, ContextMenuService.HasDropShadowProperty);
322
public static readonly RoutedEvent OpenedEvent =
PopupControlService
.ContextMenuOpenedEvent.AddOwner(typeof(ContextMenu));
351
public static readonly RoutedEvent ClosedEvent =
PopupControlService
.ContextMenuClosedEvent.AddOwner(typeof(ContextMenu));
src\Framework\System\Windows\Controls\ContextMenuService.cs (1)
482
if (
PopupControlService
.IsElementEnabled(o) || GetShowOnDisabled(o))
src\Framework\System\Windows\Controls\PopupControlService.cs (5)
814
EventManager.RegisterRoutedEvent("Opened", RoutingStrategy.Bubble, typeof(RoutedEventHandler), typeof(
PopupControlService
));
821
EventManager.RegisterRoutedEvent("Closed", RoutingStrategy.Bubble, typeof(RoutedEventHandler), typeof(
PopupControlService
));
1057
internal static
PopupControlService
Current
1133
typeof(
PopupControlService
), // Owner
1142
typeof(
PopupControlService
), // Owner
src\Framework\System\Windows\Controls\Primitives\MenuBase.cs (1)
436
curr =
PopupControlService
.FindParent(curr);
src\Framework\System\Windows\Controls\ToolTip.cs (9)
111
return
PopupControlService
.CoerceProperty(d, value, ToolTipService.HorizontalOffsetProperty);
142
return
PopupControlService
.CoerceProperty(d, value, ToolTipService.VerticalOffsetProperty);
230
return
PopupControlService
.CoerceProperty(d, value, ToolTipService.HasDropShadowProperty);
253
return
PopupControlService
.CoerceProperty(d, value, ToolTipService.PlacementTargetProperty);
278
return
PopupControlService
.CoerceProperty(d, value, ToolTipService.PlacementRectangleProperty);
302
return
PopupControlService
.CoerceProperty(d, value, ToolTipService.PlacementProperty);
482
PopupControlService
popupControlService =
PopupControlService
.Current;
493
(bool)GetValue(
PopupControlService
.ServiceOwnedProperty) &&
src\Framework\System\Windows\Controls\ToolTipService.cs (2)
636
if (e.TriggerAction != ToolTip.ToolTipTrigger.KeyboardShortcut &&
PopupControlService
.Current.StopLookingForToolTip(o))
666
if ((
PopupControlService
.IsElementEnabled(o) || GetShowOnDisabled(o))
src\Framework\System\windows\Documents\TextEditor.cs (2)
567
PopupControlService
popupControlService =
PopupControlService
.Current;
src\Framework\System\Windows\FrameworkElement.cs (2)
5855
internal
PopupControlService
_popupControlService;
5858
internal static
PopupControlService
PopupControlService