ComponentOne GridView for ASP.NET WebForms
C1.Web.Wijmo.Controls.4 Assembly / C1.Web.Wijmo.Controls.C1GridView Namespace / C1GridView Class / SelectedIndex Property

In This Topic
    SelectedIndex Property
    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