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 Basic | Visual C++ |
bool TableViewShouldReorderColumnToColumn( NSTableView tableView, NSInteger columnIndex, NSInteger newColumnIndex )
Function TableViewShouldReorderColumnToColumn ( _ tableView As NSTableView, _ columnIndex As NSInteger, _ newColumnIndex As NSInteger _ ) As Boolean
bool TableViewShouldReorderColumnToColumn( 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)