Nevron.UI.WinForm.Controls Namespace / NDataGridViewDetailsCell Class / GetContentBounds Method / GetContentBounds(Graphics,DataGridViewCellStyle,Int32) Method


In This Topic
    GetContentBounds(Graphics,DataGridViewCellStyle,Int32) Method
    In This Topic
    Syntax
    'Declaration
     
    
    Protected Overloads Overridable Function GetContentBounds( _
       ByVal graphics As System.Drawing.Graphics, _
       ByVal cellStyle As System.Windows.Forms.DataGridViewCellStyle, _
       ByVal rowIndex As System.Integer _
    ) As System.Drawing.Rectangle
    'Usage
     
    
    Dim instance As NDataGridViewDetailsCell
    Dim graphics As System.Drawing.Graphics
    Dim cellStyle As System.Windows.Forms.DataGridViewCellStyle
    Dim rowIndex As System.Integer
    Dim value As System.Drawing.Rectangle
     
    value = instance.GetContentBounds(graphics, cellStyle, rowIndex)
    protected virtual System.Drawing.Rectangle GetContentBounds( 
       System.Drawing.Graphics graphics,
       System.Windows.Forms.DataGridViewCellStyle cellStyle,
       System.int rowIndex
    )

    Parameters

    graphics
    cellStyle
    rowIndex
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also