Xceed Toolkit Plus for WPF v5.0 Documentation
Xceed.Wpf.DataGrid Assembly / Xceed.Wpf.DataGrid Namespace / Row Class / FindFromChild Method / FindFromChild(DataGridContext,DependencyObject) Method
The DataGridContext to which child belongs.
The DependencyObject for which to find the parent row.


In This Topic
    FindFromChild(DataGridContext,DependencyObject) Method
    In This Topic
    Finds the parent row for the specified dependency object.
    Syntax
    'Declaration
     
    Public Overloads Shared Function FindFromChild( _
       ByVal dataGridContext As DataGridContext, _
       ByVal child As DependencyObject _
    ) As Row
    'Usage
     
    Dim dataGridContext As DataGridContext
    Dim child As DependencyObject
    Dim value As Row
     
    value = Row.FindFromChild(dataGridContext, child)
    public static Row FindFromChild( 
       DataGridContext dataGridContext,
       DependencyObject child
    )

    Parameters

    dataGridContext
    The DataGridContext to which child belongs.
    child
    The DependencyObject for which to find the parent row.

    Return Value

    The parent row of child.
    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