MonobjcMonobjc Documented Class Library
PanelShouldEnableURL Method (sender, url)
NamespacesMonobjc.AppKitINSOpenSavePanelDelegatePanelShouldEnableURL(Id, NSURL)

For NSOpenPanel delegates, asks the delegate whether the specified URL should be enabled in the panel. This method is not called for NSSavePanel delegates; all URLs are always disabled.

Original signature is '- (BOOL)panel:(id)sender shouldEnableURL:(NSURL *)url'

Available in Mac OS X v10.6 and later.

Declaration Syntax
C#Visual BasicVisual C++
bool PanelShouldEnableURL(
	Id sender,
	NSURL url
Function PanelShouldEnableURL ( _
	sender As Id, _
	url As NSURL _
) As Boolean
bool PanelShouldEnableURL(
	Id^ sender, 
	NSURL^ url
sender (Id)
The panel asking whether the URL should be enabled.
url (NSURL)
The URL to be checked.
Return Value
YES to allow the URL to be enabled in the panel; otherwise, NO.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)