Redigera

Dela via


IGridItemProvider.Column Property

Definition

Gets the ordinal number of the column that contains the cell or item.

public:
 property int Column { int get(); };
public int Column { get; }
member this.Column : int
Public ReadOnly Property Column As Integer

Property Value

A zero-based ordinal number that identifies the column containing the cell or item.

Examples

The following example code returns the property, which is stored in an internal variable.

int IGridItemProvider.Column
{
    get 
    {
        return ItemColumn;
    }
}
Private ReadOnly Property Column() As Integer Implements IGridItemProvider.Column
    Get
        Return ItemColumn
    End Get
End Property

Applies to

See also