Xceed DataGrid for WPF v7.3 Documentation
GetParentCell Method


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid Namespace > Cell Class : GetParentCell Method
The dependency object from which the property value is read.
Gets the value of the ParentCell attached property for the specified dependency object. 
Syntax
'Declaration
 
Public Shared Function GetParentCell( _
   ByVal obj As DependencyObject _
) As Cell
'Usage
 
Dim obj As DependencyObject
Dim value As Cell
 
value = Cell.GetParentCell(obj)
public static Cell GetParentCell( 
   DependencyObject obj
)

Parameters

obj
The dependency object from which the property value is read.

Return Value

The Cell that is the ancestor of said dependency object.
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

Reference

Cell Class
Cell Members