Xceed Toolkit Plus for WPF v5.0 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.


In This Topic
    FindFromChild(DataGridControl,DependencyObject) Method
    In This Topic
    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)
    public static Cell FindFromChild( 
       DataGridControl dataGridControl,
       DependencyObject 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