Xceed DataGrid for WPF v7.3 Documentation
Xceed.Wpf.DataGrid Assembly / Xceed.Wpf.DataGrid Namespace / Cell Class / FindFromChild Method / FindFromChild(DataGridControl,DependencyObject) Method
The DataGridControl to which the child belongs.
The DependencyObject for which to find the parent cell.


    FindFromChild(DataGridControl,DependencyObject) Method
    Finds the parent cell for the specified dependency object.
    Syntax
    'Declaration
     
    Public Overloads Shared Function FindFromChild( _
       ByVal dataGridControl As DataGridControl, _
       ByVal child As DependencyObject _
    ) As Cell
     
    'Usage
     
    Dim dataGridControl As DataGridControl
    Dim child As DependencyObject
    Dim value As Cell
     
    value = Cell.FindFromChild(dataGridControl, child)

    Parameters

    dataGridControl
    The DataGridControl to which the child belongs.
    child
    The DependencyObject for which to find the parent cell.
    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