Xceed Toolkit Plus for WPF v5.1 Documentation
Xceed.Wpf.DataGrid.Toolkit Assembly / Xceed.Wpf.DataGrid Namespace / DataTableForeignKeyDescription Class
Members


In This Topic
    DataTableForeignKeyDescription Class
    In This Topic

    Represents a DataTable foreign key constraint.

    Syntax
    'Declaration
     
    <TypeDescriptionProviderAttribute(MS.Internal.ComponentModel.DependencyObjectProvider)>
    <NameScopePropertyAttribute("NameScope", System.Windows.NameScope)>
    Public Class DataTableForeignKeyDescription 
       Inherits DataGridForeignKeyDescription
    'Usage
     
    Dim instance As DataTableForeignKeyDescription
    [TypeDescriptionProvider(MS.Internal.ComponentModel.DependencyObjectProvider)]
    [NameScopeProperty("NameScope", System.Windows.NameScope)]
    public class DataTableForeignKeyDescription : DataGridForeignKeyDescription 
    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.

    Inheritance Hierarchy

    System.Object
       System.Windows.Threading.DispatcherObject
          System.Windows.DependencyObject
             Xceed.Wpf.DataGrid.DataGridForeignKeyDescription
                Xceed.Wpf.DataGrid.DataTableForeignKeyDescription

    Public Constructors
     NameDescription
    Public ConstructorInitializes a new instance of the DataTableForeignKeyDescription class.  
    Top
    Public Fields
     NameDescription
    Public Fieldstatic (Shared in Visual Basic)Identifies the ForeignKeyConstraint dependency property.  
    Top
    Public Properties
     NameDescription
    Public Property (Inherited from System.Windows.DependencyObject)
    Public Property (Inherited from System.Windows.Threading.DispatcherObject)
    Public Property (Inherited from Xceed.Wpf.DataGrid.DataGridForeignKeyDescription)
    Public PropertyGets or sets a ForeignKeyConstraint representing a foreign key constraint defined in a DataTable.  
    Public PropertyGets or sets a foreign key converter, which allows custom key/value mappings to be provided. (Inherited from Xceed.Wpf.DataGrid.DataGridForeignKeyDescription)
    Public Property (Inherited from System.Windows.DependencyObject)
    Public PropertyGets or sets the source from which the values to be displayed are retrieved. (Inherited from Xceed.Wpf.DataGrid.DataGridForeignKeyDescription)
    Public PropertyGets or sets the path in the ItemsSource that contains the values to be displayed. (Inherited from Xceed.Wpf.DataGrid.DataGridForeignKeyDescription)
    Top
    Public Methods
    Protected Methods
    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