コード例 #1
0
 public static void SetContextBar(DependencyObject element, ContextBar value)
 {
     element.SetValue(ContextBarProperty, value);
 }
コード例 #2
0
ファイル: ContextBarSelector.cs プロジェクト: Egaros/lib
 protected void UnregisterContextBar(ContextBar menu)
 {
     Owners.UnregisterSharedItem(menu);
 }
コード例 #3
0
 private static void OnContextBarPropertyChanged(FrameworkElement frameworkElement, ContextBar oldBar, ContextBar newBar)
 {
     SharedItemHelper.Share(frameworkElement, oldBar, newBar);
     PopupControlService.OnPopupControllerSelectorChanged(frameworkElement, oldBar?.PopupController, newBar?.PopupController);
 }