The delegate receives this message each time the user attempts to change the receiver‘s value, allowing the delegate the opportunity to override the change.
Original signature is '- (void)datePickerCell:(NSDatePickerCell *)aDatePickerCell validateProposedDateValue:(NSDate **)proposedDateValue timeInterval:(NSTimeInterval *)proposedTimeInterval'
Available in Mac OS X v10.4 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public delegate void DatePickerCellValidateProposedDateValueTimeIntervalEventHandler( NSDatePickerCell aDatePickerCell, out NSDate proposedDateValue, ref double proposedTimeInterval )
Public Delegate Sub DatePickerCellValidateProposedDateValueTimeIntervalEventHandler ( _ aDatePickerCell As NSDatePickerCell, _ <OutAttribute> ByRef proposedDateValue As NSDate, _ ByRef proposedTimeInterval As Double _ )
public delegate void DatePickerCellValidateProposedDateValueTimeIntervalEventHandler( NSDatePickerCell^ aDatePickerCell, [OutAttribute] NSDate^% proposedDateValue, double% proposedTimeInterval )
Parameters
- aDatePickerCell (NSDatePickerCell)
- The cell cell that sent the message.
- proposedDateValue (NSDate%)
- On input, contains the proposed new date. The delegate may change this value before returning.
- proposedTimeInterval (Double%)
- On input, contains the proposed new time interval. The delegate may change this value before returning.
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)