Xceed Grid for WinForms v4.3 Documentation
Xceed.Grid.v4.3 Assembly / Xceed.Grid Namespace / DetailGrid Class / DetailGridTemplates Property


In This Topic
    DetailGridTemplates Property (DetailGrid)
    In This Topic
    Gets a list of the DetailGrid objects used as templates to create the detail grids that will be associated with each of the grid's DataRows.
    Syntax
    'Declaration
     
    <BrowsableAttribute(False)>
    <DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Content)>
    Public ReadOnly Property DetailGridTemplates As DetailGridList
    'Usage
     
    Dim instance As DetailGrid
    Dim value As DetailGridList
     
    value = instance.DetailGridTemplates
    [Browsable(false)]
    [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
    public DetailGridList DetailGridTemplates {get;}

    Property Value

    A reference to a Xceed.Grid.Collections.DetailGridList object containing a list of the detail grids used as templates to create the detail grids that will be associated with each of the grid's DataRows.
    Remarks

    The number of detail grids added to the detail grid's collection of DetailGridTemplates will determine the number of detail grids for each DataRow in the detail grid. For example, if you add 2 DetailGrid objects to the detail grid's DetailGridTemplates property, each DataRow in the detail grid will have 2 detail grids associated with it.

    In order for the modifications made to the detail grid templates to be applied to the detail grid (after the detail grid has been populated) the UpdateDetailGrids method must be called.

    Requirements

    Target Platforms: 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