MonobjcMonobjc Documented Class Library
NSTableView..::..TableViewShouldReorderColumnToColumnEventHandler Delegate
NamespacesMonobjc.AppKitNSTableViewNSTableView..::..TableViewShouldReorderColumnToColumnEventHandler

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

Original signature is '- (BOOL)tableView:(NSTableView *)tableView shouldReorderColumn:(NSInteger)columnIndex toColumn:(NSInteger)newColumnIndex'

Available in Mac OS X v10.6 and later.

Declaration Syntax
C#Visual BasicVisual C++
public delegate bool TableViewShouldReorderColumnToColumnEventHandler(
	NSTableView tableView,
	NSInteger columnIndex,
	NSInteger newColumnIndex
)
Public Delegate Function TableViewShouldReorderColumnToColumnEventHandler ( _
	tableView As NSTableView, _
	columnIndex As NSInteger, _
	newColumnIndex As NSInteger _
) As Boolean
public delegate bool TableViewShouldReorderColumnToColumnEventHandler(
	NSTableView^ tableView, 
	NSInteger columnIndex, 
	NSInteger newColumnIndex
)
Parameters
tableView (NSTableView)
The tableview 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)