Xceed DataGrid for Silverlight Documentation
ParentPath Property
Example 


Gets the path of the parent element
Syntax
'Declaration
 
Public ReadOnly Property ParentPath As DataGridPath
'Usage
 
Dim instance As DataGridPath
Dim value As DataGridPath
 
value = instance.ParentPath
public DataGridPath ParentPath {get;}

Property Value

A DataGridPath representing the path of the parent element
Example
Dim currentItem As Object = sldgDataGridControl.CurrentItem
 
Dim currentPath As DataGridPath = sldgDataGridControl.GetPathFromItem( currentItem )
sldgDataGridControl.ToggleGroupExpansion( currentPath.ParentPath )
object currentItem = sldgDataGridControl.CurrentItem;
 
DataGridPath currentPath = sldgDataGridControl.GetPathFromItem( currentItem );
sldgDataGridControl.ToggleGroupExpansion( currentPath.ParentPath );
Requirements

Target Platforms: Windows 7, Windows Vista, Windows XP SP3, Windows Server 2008 family

See Also

Reference

DataGridPath Class
DataGridPath Members

Additional Information

Paths and Containers

Send Feedback