ComponentOne FlexGrid for UWP
C1.UWP.FlexGrid Assembly / C1.Xaml.FlexGrid Namespace / C1FlexGrid Class / SelectedItem Property

In This Topic
    SelectedItem Property (C1FlexGrid)
    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