Used to determine a column’s initial size.
Original signature is '- (CGFloat)browser:(NSBrowser *)browser shouldSizeColumn:(NSInteger)columnIndex forUserResize:(BOOL)forUserResize toWidth:(CGFloat)suggestedWidth'
Available in Mac OS X v10.3 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public delegate CGFloat BrowserShouldSizeColumnForUserResizeToWidthEventHandler( NSBrowser browser, NSInteger columnIndex, bool forUserResize, CGFloat suggestedWidth )
Return Value
The delegate's desired initial width for a newly added column. If you want to accept the suggested width, return suggestedWidth. If you return 0 or a size too small to display the resize handle and a portion of the column, the actual size used will be larger than the size you requested.
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)