Xceed DataGrid for WPF v7.2 Documentation
GetKeyFromValue Method (DataTableForeignKeyConverter)


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid Namespace > DataTableForeignKeyConverter Class : GetKeyFromValue Method
The value for which the corresponding key is to be retrieved.
The ForeignKeyConfiguration that is used to display the value.
Retrieves the key for the specified value.
Syntax
'Declaration
 
Public Overrides Function GetKeyFromValue( _
   ByVal value As Object, _
   ByVal configuration As ForeignKeyConfiguration _
) As Object
'Usage
 
Dim instance As DataTableForeignKeyConverter
Dim value As Object
Dim configuration As ForeignKeyConfiguration
Dim value As Object
 
value = instance.GetKeyFromValue(value, configuration)
public override object GetKeyFromValue( 
   object value,
   ForeignKeyConfiguration configuration
)

Parameters

value
The value for which the corresponding key is to be retrieved.
configuration
The ForeignKeyConfiguration that is used to display the value.
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

DataTableForeignKeyConverter Class
DataTableForeignKeyConverter Members
Base Implementation in GetKeyFromValue