Wimark.Controls Class Library  

DataGridViewCell.ComputeContentBounds Method

Computes location and size of the cell content.

[Visual Basic]
Overridable Protected Function ComputeContentBounds( _
   ByVal cellBounds As Rectangle, _
   ByVal padLeft As Integer, _
   ByVal padRight As Integer, _
   ByVal padTop As Integer, _
   ByVal padBottom As Integer, _
   ByVal graphics As Graphics _
) As Rectangle 
[C#]
protected virtual Rectangle ComputeContentBounds( 
   Rectangle cellBounds, 
   int padLeft, 
   int padRight, 
   int padTop, 
   int padBottom, 
   Graphics graphics 
);
[C++]
protected: virtual Rectangle ComputeContentBounds( 
   Rectangle cellBounds, 
   int padLeft, 
   int padRight, 
   int padTop, 
   int padBottom, 
   Graphics* graphics 
);

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows .NET Server family

See Also

DataGridViewCell Class | DataGridViewCell Members | Wimark.Controls Namespace