ComponentOne ListView for ASP.NET Web Forms
C1.Web.Wijmo.Controls.45 Assembly / C1.Web.Wijmo.Controls.C1GridView Namespace / C1GridView Class / SelectedIndex Property

In This Topic
    SelectedIndex Property (C1GridView)
    In This Topic
    Gets or sets the index of the selected row.
    Syntax
    'Declaration
     
    Public Overridable Property SelectedIndex As System.Integer
    public virtual System.int SelectedIndex {get; set;}

    Property Value

    The default value is -1. Set this property to -1 to deselect an item in the C1GridView component.
    See Also