Resizes the receiver’s frame so that it is the minimum size needed to contain its cell.
Original signature is '- (void)sizeToFit'
Available in Mac OS X v10.0 and later.

C# | Visual Basic | Visual C++ |
public virtual void SizeToFit()
Public Overridable Sub SizeToFit
public: virtual void SizeToFit()

- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)