Xceed Toolkit Plus for WPF v4.6 Documentation
ForeignKeyDescription Property


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid Namespace > DataGridItemPropertyBase Class : ForeignKeyDescription Property
Gets or set the DataGridForeignKeyDescription that represents a foreign key constraint or enumeration.
Syntax
'Declaration
 
Public Property ForeignKeyDescription As DataGridForeignKeyDescription
'Usage
 
Dim instance As DataGridItemPropertyBase
Dim value As DataGridForeignKeyDescription
 
instance.ForeignKeyDescription = value
 
value = instance.ForeignKeyDescription
public DataGridForeignKeyDescription ForeignKeyDescription {get; set;}

Property Value

A reference to the DataGridForeignKeyDescription that represents a foreign key constraint or enumeration.
Remarks
When manually defining foreign key descriptions because the AutoCreateForeignKeyDescriptions property is set to false, the ItemsSource property and the ValuePath properties must be set in order to specify the source from which the values will be retrieved as well as their path, which represents the primary key of the foreign item in the ItemsSource.
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

DataGridItemPropertyBase Class
DataGridItemPropertyBase Members