예제 #1
0
     public static void SetContextMenu(DependencyObject obj, ContextMenu contextMenu)
     {
         NoesisGUI_PINVOKE.ContextMenuService_SetContextMenu(DependencyObject.getCPtr(obj), ContextMenu.getCPtr(contextMenu));
 #if UNITY_EDITOR || NOESIS_API
         if (NoesisGUI_PINVOKE.SWIGPendingException.Pending)
         {
             throw NoesisGUI_PINVOKE.SWIGPendingException.Retrieve();
         }
 #endif
     }
예제 #2
0
 public static void SetContextMenu(DependencyObject obj, ContextMenu contextMenu)
 {
     if (obj == null)
     {
         throw new ArgumentNullException("obj");
     }
     {
         NoesisGUI_PINVOKE.ContextMenuService_SetContextMenu(DependencyObject.getCPtr(obj), ContextMenu.getCPtr(contextMenu));
     }
 }
예제 #3
0
 public static void SetContextMenu(DependencyObject obj, ContextMenu contextMenu)
 {
     NoesisGUI_PINVOKE.ContextMenuService_SetContextMenu(DependencyObject.getCPtr(obj), ContextMenu.getCPtr(contextMenu));
 }