Xceed DataGrid for WPF v7.2 Documentation
IndexOf(String) Method


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid Namespace > DataGridDetailDescriptionCollection Class > IndexOf Method : IndexOf(String) Method
The name of the detail description whose index is to be retrieved.
Retrieves the index of the detail description with the specified relation name.
Syntax
'Declaration
 
Public Overloads Function IndexOf( _
   ByVal relationName As String _
) As Integer
'Usage
 
Dim instance As DataGridDetailDescriptionCollection
Dim relationName As String
Dim value As Integer
 
value = instance.IndexOf(relationName)
public int IndexOf( 
   string relationName
)

Parameters

relationName
The name of the detail description whose index is to be retrieved.

Return Value

A value representing the index of the detail description.
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

DataGridDetailDescriptionCollection Class
DataGridDetailDescriptionCollection Members
Overload List