Xceed Grid for WinForms v4.3 Documentation
Xceed.Grid.v4.3 Assembly / Xceed.Grid.Collections Namespace / ColumnList Class / GenerateFromType Method
The type from which to generate the columns.


In This Topic
    GenerateFromType Method
    In This Topic
    Generates a list of bound columns based on the specified type.
    Syntax
    'Declaration
     
    Public Sub GenerateFromType( _
       ByVal type As Type _
    ) 
    'Usage
     
    Dim instance As ColumnList
    Dim type As Type
     
    instance.GenerateFromType(type)
    public void GenerateFromType( 
       Type type
    )

    Parameters

    type
    The type from which to generate the columns.
    Remarks

    The result will be the equivalent of binding the grid to an array of type.

    A column will be created for each public property that has the Browsable attribute set to true.

    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