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