Xceed DataGrid for WPF v7.2 Documentation
GetVisualChild Method (DataGridItemsHost)


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid Namespace > DataGridItemsHost Class : GetVisualChild Method
The zero-based index of the visual child element to return.
Gets the index of a visual child element.
Syntax
'Declaration
 
Protected Overrides Function GetVisualChild( _
   ByVal index As Integer _
) As Visual
'Usage
 
Dim instance As DataGridItemsHost
Dim index As Integer
Dim value As Visual
 
value = instance.GetVisualChild(index)
protected override Visual GetVisualChild( 
   int index
)

Parameters

index
The zero-based index of the visual child element to return.

Return Value

The visual child element at the specified index.
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

DataGridItemsHost Class
DataGridItemsHost Members
Base Implementation in GetVisualChild