MonobjcMonobjc Documented Class Library
NSSplitView..::..SplitViewShouldAdjustSizeOfSubviewEventHandler Delegate
NamespacesMonobjc.AppKitNSSplitViewNSSplitView..::..SplitViewShouldAdjustSizeOfSubviewEventHandler

Allows the delegate to specify whether the subview should be resized.

Original signature is '- (BOOL)splitView:(NSSplitView *)splitView shouldAdjustSizeOfSubview:(NSView *)subview'

Available in Mac OS X v10.6 and later.

Declaration Syntax
C#Visual BasicVisual C++
public delegate bool SplitViewShouldAdjustSizeOfSubviewEventHandler(
	NSSplitView splitView,
	NSView subview
)
Public Delegate Function SplitViewShouldAdjustSizeOfSubviewEventHandler ( _
	splitView As NSSplitView, _
	subview As NSView _
) As Boolean
public delegate bool SplitViewShouldAdjustSizeOfSubviewEventHandler(
	NSSplitView^ splitView, 
	NSView^ subview
)
Parameters
splitView (NSSplitView)
The split view that sent the message.
subview (NSView)
The subview to resize.
Return Value
YES if adjustSubviews can change the size of the subview, otherwise NO. By returning NO, you lock the size of the split view subview while the split view is resized.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later)

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