MonobjcMonobjc Documented Class Library
SplitViewConstrainMaxCoordinateOfSubviewAt Method (splitView, proposedMax, dividerIndex)
NamespacesMonobjc.AppKitINSSplitViewDelegateSplitViewConstrainMaxCoordinateOfSubviewAt(NSSplitView, CGFloat, NSInteger)

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 BasicVisual C++
CGFloat SplitViewConstrainMaxCoordinateOfSubviewAt(
	NSSplitView splitView,
	CGFloat proposedMax,
	NSInteger dividerIndex
)
Function SplitViewConstrainMaxCoordinateOfSubviewAt ( _
	splitView As NSSplitView, _
	proposedMax As CGFloat, _
	dividerIndex As NSInteger _
) As CGFloat
CGFloat SplitViewConstrainMaxCoordinateOfSubviewAt(
	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)

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