Xceed.Silverlight.DataGrid.v2.0 Assembly > Xceed.Silverlight.DataGrid Namespace > DataGridControl Class : GetContainerFromItem Method |
'Usage Dim instance As DataGridControl Dim item As Object Dim value As UIElement value = instance.GetContainerFromItem(item)
Dim currentItem As Object = sldgDataGridControl.CurrentItem Dim parentRow As DataRow = TryCast( sldgDataGridControl.GetContainerFromItem( currentItem ), DataRow ) parentRow.Cells( 0 ).BeginEdit()
object currentItem = sldgDataGridControl.CurrentItem; DataRow parentRow = sldgDataGridControl.GetContainerFromItem(currentItem) as DataRow; parentRow.Cells[ 0 ].BeginEdit();
Target Platforms: Windows 7, Windows Vista, Windows XP SP3, Windows Server 2008 family