Example #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
     }
 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));
     }
 }
Example #3
0
 public static void SetContextMenu(DependencyObject obj, ContextMenu contextMenu)
 {
     NoesisGUI_PINVOKE.ContextMenuService_SetContextMenu(DependencyObject.getCPtr(obj), ContextMenu.getCPtr(contextMenu));
 }