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


In This Topic
    DataTableForeignKeyDescription Class
    In This Topic

    Represents a DataTable foreign key constraint.

    Object Model
    DataTableForeignKeyDescription ClassForeignKeyConverter Class
    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
    Extension Methods
     NameDescription
    Public Extension MethodFinds the logical ancenster
    Public Extension Method
    Public Extension MethodFind the logical children.
    Public Extension MethodFinds the visual ancestor.
    Public Extension MethodFinds the visual children.
    Public Extension MethodFinds the visual tree root.
    Public Extension MethodOverloaded. 
    Top
    Supported Frameworks

    .NET: net5.0, net5.0-windows, net6.0, net6.0-macos, net6.0-windows, net7.0, net7.0-macos, net7.0-windows, net8.0, net8.0-browser, net8.0-macos, net8.0-windows, net9.0, net9.0-browser, net9.0-macos, net9.0-windows, net10.0, net10.0-browser, net10.0-macos, net10.0-windows.

    .NET Framework: net40, net403, net45, net451, net452, net46, net461, net462, net463, net47, net471, net472, net48, net481.

    See Also