MonobjcMonobjc Documented Class Library
ValidateUserInterfaceItem Method (anItem)

Returns a Boolean value that indicates whether the sender should be enabled. (required)

Original signature is '- (BOOL)validateUserInterfaceItem:(id < NSValidatedUserInterfaceItem >)anItem'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual bool ValidateUserInterfaceItem(
	INSValidatedUserInterfaceItem anItem
Public Overridable Function ValidateUserInterfaceItem ( _
	anItem As INSValidatedUserInterfaceItem _
) As Boolean
virtual bool ValidateUserInterfaceItem(
	INSValidatedUserInterfaceItem^ anItem
anItem (INSValidatedUserInterfaceItem)
The user interface item to validate. You can send anItem the action and tag messages.
Return Value
YES if the user interface item should be enabled, otherwise NO.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

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