alexa
menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download

    Show / Hide Table of Contents

    Class ShowRelationFields

    The Engine.ShowRelationField property affects the auto population of the FieldDescriptorCollection.

    It specifies if dependent fields from a related table in a foreign key relation (or related collection) should be added to the main tables FieldDescriptorCollection. You can also control this behavior at run-time with the QueryShowRelationDisplayFields event. Default is ShowRelationFields.ShowDisplayFieldsOnly.

    Inheritance
    System.Object
    ShowRelationFields
    Namespace: Syncfusion.Grouping
    Assembly: Syncfusion.Grouping.Base.dll
    Syntax
    public sealed class ShowRelationFields : Enum

    Fields

    Hide

    Don't show fields.

    Declaration
    public const ShowRelationFields Hide
    Field Value
    Type
    ShowRelationFields

    ShowAllRelatedFields

    Show all related fields including primary and foreign keys.

    Declaration
    public const ShowRelationFields ShowAllRelatedFields
    Field Value
    Type
    ShowRelationFields

    ShowDisplayFieldsOnly

    Show only dependent fields; hide primary and foreign keys.

    Declaration
    public const ShowRelationFields ShowDisplayFieldsOnly
    Field Value
    Type
    ShowRelationFields
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved