Xceed DataGrid for WPF v7.3 Documentation
Xceed.Wpf.DataGrid Assembly / Xceed.Wpf.DataGrid Namespace / DataGridForeignKeyConverter Class / GetKeyFromValue Method

The value for which the corresponding key is to be retrieved.

The ForeignKeyConfiguration that is used to display the value.



In This Topic
    GetKeyFromValue Method (DataGridForeignKeyConverter)
    In This Topic
    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 DataGridForeignKeyConverter
    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