A
A
anonymous2017-10-15 15:05:22
WPF
anonymous, 2017-10-15 15:05:22

How to pull data from listView SelectedItem?


Need to get string from Name

<ListView MouseDoubleClick="listView_MouseDoubleClick" Name="listView" HorizontalAlignment="Left" Height="449" Margin="10,10,0,0" Grid.Row="1" VerticalAlignment="Top" Width="972">
            <ListView.View>
                <GridView>
                    <GridViewColumn Header="Name" Width="300" DisplayMemberBinding="{Binding Name}"/>
                    <GridViewColumn Header="Type" Width="300" DisplayMemberBinding="{Binding Type}"/>
                    <GridViewColumn Header="Date" Width="300" DisplayMemberBinding="{Binding Date}"/>
                </GridView>
            </ListView.View>
        </ListView>

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman, 2017-10-15
@yarosroman

What exactly doesn't work? Based on the above .... it's not clear.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question