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 Basic | Visual C++ |
public virtual bool ValidateUserInterfaceItem( INSValidatedUserInterfaceItem anItem )
Public Overridable Function ValidateUserInterfaceItem ( _ anItem As INSValidatedUserInterfaceItem _ ) As Boolean
public: virtual bool ValidateUserInterfaceItem( INSValidatedUserInterfaceItem^ anItem )
Parameters
- 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)