Xceed.Silverlight.DataGrid.v2.0 Assembly > Xceed.Silverlight.DataGrid Namespace > DataGridControl Class : GetPathFromItem Method |
'Declaration Public Function GetPathFromItem( _ ByVal item As Object _ ) As DataGridPath
'Usage Dim instance As DataGridControl Dim item As Object Dim value As DataGridPath value = instance.GetPathFromItem(item)
public DataGridPath GetPathFromItem( object item )
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 );
Target Platforms: Windows 7, Windows Vista, Windows XP SP3, Windows Server 2008 family