FlexSheet for WPF | ComponentOne
C1.WPF.FlexGrid Namespace / C1FlexGrid Class / SelectedItem Property

In This Topic
    SelectedItem Property
    In This Topic
    Gets or sets the data item corresponding to the selected row.
    Syntax
    'Declaration
     
    
    Public Property SelectedItem As Object
    public object SelectedItem {get; set;}
    Remarks

    In unbound mode, there are no data items associated with the rows, and this property always returns null.

    You can get the index of the selected row in bound and unbound modes using the Selection property.

    See Also