Xceed Grid for WinForms v4.3 Documentation
Xceed.Grid.v4.3 Assembly / Xceed.Grid Namespace / DetailGrid Class / CreateInstance Method
The DetailGrid which will be used as the synchronization root. The DetailGrid that is used as the synchronization root will not appear in the grid but will be consulted whenever an operation such as sorting or grouping is performed on any of the detail grids of the same level (all the detail grids built from the same template).


In This Topic
    CreateInstance Method (DetailGrid)
    In This Topic
    Creates a new DetailGrid object that is a copy of the current instance indicating if the new instance should be synchronized with the original detail grid.
    Syntax
    'Declaration
     
    Protected Friend Overridable Function CreateInstance( _
       ByVal synchronizationRoot As DetailGrid _
    ) As DetailGrid
    'Usage
     
    Dim instance As DetailGrid
    Dim synchronizationRoot As DetailGrid
    Dim value As DetailGrid
     
    value = instance.CreateInstance(synchronizationRoot)
    protected internal virtual DetailGrid CreateInstance( 
       DetailGrid synchronizationRoot
    )

    Parameters

    synchronizationRoot
    The DetailGrid which will be used as the synchronization root. The DetailGrid that is used as the synchronization root will not appear in the grid but will be consulted whenever an operation such as sorting or grouping is performed on any of the detail grids of the same level (all the detail grids built from the same template).

    Return Value

    A reference to newly create DetailGrid object.
    Remarks

    If the SynchronizeDetailGrids property is set to false, then there is no synchronization root.

    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