Exemple #1
0
 public static void SetContextBar(DependencyObject element, ContextBar value)
 {
     element.SetValue(ContextBarProperty, value);
 }
Exemple #2
0
 protected void UnregisterContextBar(ContextBar menu)
 {
     Owners.UnregisterSharedItem(menu);
 }
Exemple #3
0
 private static void OnContextBarPropertyChanged(FrameworkElement frameworkElement, ContextBar oldBar, ContextBar newBar)
 {
     SharedItemHelper.Share(frameworkElement, oldBar, newBar);
     PopupControlService.OnPopupControllerSelectorChanged(frameworkElement, oldBar?.PopupController, newBar?.PopupController);
 }