This question is locked. New answers and comments are not allowed.
Here is my xaml for a RadGridView with a GridViewSelectColumn:
In my VIEWMODEL, I catch an OnButtonClick command and I want to act on the rows that are Selected.
What VB code do I need to build a list of the "ID's" of the rows that are Selected?
Many thanks,
Ted
<
telerik:RadGridView
x:Name
=
"ItemsGridView"
telerik:StyleManager.Theme
=
"Summer"
ItemsSource
=
"{Binding Items}"
ShowGroupPanel
=
"False"
RowIndicatorVisibility
=
"Collapsed"
Visibility
=
"{Binding ItemsGridVisibility}"
AutoGenerateColumns
=
"False"
Grid.Row
=
"2"
SelectionMode
=
"Extended"
>
<
telerik:RadGridView.Columns
>
<
telerik:GridViewSelectColumn
/>
<
telerik:GridViewDataColumn
Header
=
"ID"
DataMemberBinding
=
"{Binding ID}"
>
</
telerik:GridViewDataColumn
>
<
telerik:GridViewDataColumn
Header
=
"Nomenclature"
DataMemberBinding
=
"{Binding Description}"
>
</
telerik:GridViewDataColumn
>
</
telerik:RadGridView.Columns
>
</
telerik:RadGridView
>
In my VIEWMODEL, I catch an OnButtonClick command and I want to act on the rows that are Selected.
What VB code do I need to build a list of the "ID's" of the rows that are Selected?
Many thanks,
Ted