MonobjcMonobjc Documented Class Library
SplitViewShouldAdjustSizeOfSubviewMessage Method (splitView, subview)
NamespacesMonobjc.AppKitNSSplitView..::..NSSplitViewDelegateEventDispatcherSplitViewShouldAdjustSizeOfSubviewMessage(NSSplitView, NSView)

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 bool SplitViewShouldAdjustSizeOfSubviewMessage(
	NSSplitView splitView,
	NSView subview
)
Public Function SplitViewShouldAdjustSizeOfSubviewMessage ( _
	splitView As NSSplitView, _
	subview As NSView _
) As Boolean
public:
bool SplitViewShouldAdjustSizeOfSubviewMessage(
	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)