I would like to retrieve the value from a Car Name column from a row in a ListView on a MouseEnter event and have the result display in a TextBlock.
ListView
TextBlock
Try this:
xaml:
cs:
private void ListBoxItem_MouseEnter(object s, MouseEventArgs e) { var item = e.OriginalSource as ListBoxItem; var car = item.Content as Car; textbox.Text = car.Name; }