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