Xceed Grid for WinForms v4.3 Documentation
Xceed.Grid.v4.3 Assembly / Xceed.Grid.Editors Namespace / TextEditor Class / CalculateEditorBoundsCore Method
The System.Windows.Forms.Control that will be used to edit the content of the cell.
The Xceed.Grid.Cell whose content is to be edited by the control.
A System.Drawing.Rectangle structure representing the bounds of the editor.


In This Topic
    CalculateEditorBoundsCore Method (TextEditor)
    In This Topic
    Calculates the bounds of the editor.
    Syntax
    'Declaration
     
    Protected Overrides Sub CalculateEditorBoundsCore( _
       ByVal control As Control, _
       ByVal cell As Cell, _
       ByRef bounds As Rectangle _
    ) 
    'Usage
     
    Dim instance As TextEditor
    Dim control As Control
    Dim cell As Cell
    Dim bounds As Rectangle
     
    instance.CalculateEditorBoundsCore(control, cell, bounds)
    protected override void CalculateEditorBoundsCore( 
       Control control,
       Cell cell,
       ref Rectangle bounds
    )

    Parameters

    control
    The System.Windows.Forms.Control that will be used to edit the content of the cell.
    cell
    The Xceed.Grid.Cell whose content is to be edited by the control.
    bounds
    A System.Drawing.Rectangle structure representing the bounds of the editor.
    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