public static void SetContextMenuSelector(FrameworkElement element, ContextMenuSelector value) { element.SetValue(ContextMenuSelectorProperty, value); }
private static void OnContextMenuSelectorPropertyChanged(FrameworkElement frameworkElement, ContextMenuSelector oldMenuSelector, ContextMenuSelector newMenuSelector) { SharedItemHelper.Share(frameworkElement, oldMenuSelector, newMenuSelector); PopupControlService.OnPopupControllerSelectorChanged(frameworkElement, oldMenuSelector, newMenuSelector); }