MonobjcMonobjc Documented Class Library
OutlineViewShouldReorderColumnToColumn Method (outlineView, columnIndex, newColumnIndex)
NamespacesMonobjc.AppKitINSOutlineViewDelegateOutlineViewShouldReorderColumnToColumn(NSOutlineView, NSInteger, NSInteger)

Sent to the delegate to allow or prohibit the specified column to be dragged to a new location.

Original signature is '- (BOOL)outlineView:(NSOutlineView *)outlineView shouldReorderColumn:(NSInteger)columnIndex toColumn:(NSInteger)newColumnIndex'

Available in Mac OS X v10.6 and later.

Declaration Syntax
C#Visual BasicVisual C++
bool OutlineViewShouldReorderColumnToColumn(
	NSOutlineView outlineView,
	NSInteger columnIndex,
	NSInteger newColumnIndex
)
Function OutlineViewShouldReorderColumnToColumn ( _
	outlineView As NSOutlineView, _
	columnIndex As NSInteger, _
	newColumnIndex As NSInteger _
) As Boolean
bool OutlineViewShouldReorderColumnToColumn(
	NSOutlineView^ outlineView, 
	NSInteger columnIndex, 
	NSInteger newColumnIndex
)
Parameters
outlineView (NSOutlineView)
The outline view that sent the message.
columnIndex (NSInteger)
The index of the column being dragged.
newColumnIndex (NSInteger)
The proposed target index of the column.
Return Value
YES if the column reordering should be allowed, otherwise NO.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later)

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