Xceed.Silverlight.DataGrid.v2.0 Assembly > Xceed.Silverlight.DataGrid Namespace > DataGridControl Class : ToggleGroupExpansion Method |
'Declaration Public Sub ToggleGroupExpansion( _ ByVal groupPath As DataGridPath _ )
'Usage Dim instance As DataGridControl Dim groupPath As DataGridPath instance.ToggleGroupExpansion(groupPath)
public void ToggleGroupExpansion( DataGridPath groupPath )
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