Xceed DataGrid for WPF v7.3 Documentation
Xceed.Wpf.DataGrid Assembly / Xceed.Wpf.DataGrid Namespace / DataGridContext Class / GetChildContext Method / GetChildContext(Object,DetailConfiguration) Method
The item whose child DataGridContext is to be retrieved. Cannot be a null reference (Nothing in Visual Basic).
The DetailConfiguration that is the source of the child context. Cannot be a null reference (Nothing in Visual Basic).


In This Topic
    GetChildContext(Object,DetailConfiguration) Method
    In This Topic
    Retrieves the child DataGridContext created from the specified DetailConfiguration of an item.
    Syntax
    'Declaration
     
    Public Overloads Function GetChildContext( _
       ByVal parentItem As Object, _
       ByVal detailConfiguration As DetailConfiguration _
    ) As DataGridContext
    'Usage
     
    Dim instance As DataGridContext
    Dim parentItem As Object
    Dim detailConfiguration As DetailConfiguration
    Dim value As DataGridContext
     
    value = instance.GetChildContext(parentItem, detailConfiguration)

    Parameters

    parentItem
    The item whose child DataGridContext is to be retrieved. Cannot be a null reference (Nothing in Visual Basic).
    detailConfiguration
    The DetailConfiguration that is the source of the child context. Cannot be a null reference (Nothing in Visual Basic).

    Return Value

    The child DataGridContext of the specified parentItem.
    Exceptions
    ExceptionDescription
     
    Requirements

    Target Platforms: Windows 11, Windows, 10, 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