MonobjcMonobjc Documented Class Library
BrowserSizeToFitWidthOfColumn Event

Returns the ideal width for a column.

Original signature is '- (CGFloat)browser:(NSBrowser *)browser sizeToFitWidthOfColumn:(NSInteger)columnIndex'

Available in Mac OS X v10.3 and later.

Declaration Syntax
C#Visual BasicVisual C++
Return Value
The ideal width of the column. This method is used when performing a “right-size” operation, that is, when sizing a column to the smallest width that contains all the content without clipping or truncating. If columnIndex is –1, you should return a size that can be uniformly applied to all columns (that is, every column will be set to this size). Returning a value of -1 allows you to opt-out of providing a width for the requested column.
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)