FlexGrid for WinForms | ComponentOne
C1.Win.C1FlexGrid Namespace / ColumnCollection Class / Item Property / Item(String) Property

In This Topic
    Item(String) Property
    In This Topic
    Gets the Column that has the specified column name.
    Syntax
    'Declaration
     
    
    Public Overloads ReadOnly Property Item( _
       ByVal columnName As String _
    ) As Column
    public Column Item( 
       string columnName
    ) {get;}

    Parameters

    columnName
    Remarks

    You can use the Column object returned by this method to set attributes such as column height, visibility, style, selected state, and so on.

    This indexer looks for a column with the specified Column.Name. The column name is set automatically for you when the grid is bound to a database, or it may be set using code.

    See Also