Allows the delegate for sender to constrain the maximum coordinate limit of a divider when the user drags it.
Original signature is '- (CGFloat)splitView:(NSSplitView *)splitView constrainMaxCoordinate:(CGFloat)proposedMax ofSubviewAt:(NSInteger)dividerIndex'
Available in Mac OS X v10.0 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public delegate CGFloat SplitViewConstrainMaxCoordinateOfSubviewAtEventHandler( NSSplitView splitView, CGFloat proposedMax, NSInteger dividerIndex )
Public Delegate Function SplitViewConstrainMaxCoordinateOfSubviewAtEventHandler ( _ splitView As NSSplitView, _ proposedMax As CGFloat, _ dividerIndex As NSInteger _ ) As CGFloat
public delegate CGFloat SplitViewConstrainMaxCoordinateOfSubviewAtEventHandler( NSSplitView^ splitView, CGFloat proposedMax, NSInteger dividerIndex )
Parameters
- splitView (NSSplitView)
- The split view that sent the message.
- proposedMax (CGFloat)
- The proposed maximum coordinate limit of the subview, in the split view’s flipped coordinate system.
- dividerIndex (NSInteger)
- Specifies the divider the user is moving, with the first divider being 0 and increasing from top to bottom (or left to right).
Return Value
The maximum coordinate limit of the divider.
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)