MonobjcMonobjc Documented Class Library
SplitViewCanCollapseSubview Method (splitView, subview)
NamespacesMonobjc.AppKitINSSplitViewDelegateSplitViewCanCollapseSubview(NSSplitView, NSView)

Allows the delegate to determine whether the user can collapse and uncollapse subview.

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

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
bool SplitViewCanCollapseSubview(
	NSSplitView splitView,
	NSView subview
Function SplitViewCanCollapseSubview ( _
	splitView As NSSplitView, _
	subview As NSView _
) As Boolean
bool SplitViewCanCollapseSubview(
	NSSplitView^ splitView, 
	NSView^ subview
splitView (NSSplitView)
The split view that sent the message.
subview (NSView)
The subview to collapse.
Return Value
YES if subview should collapse when the user drags a divider beyond the halfway mark between its minimum size and its edge, otherwise NO.
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)