Hi Matheus,
Thanks for using Syncfusion product.
We have checked the reported issue in our end and we found you directly show the selected item in message. Instead that you can cast the selected item to particular type of data which you bind with control as like the below code snippet. Here we populated the datasource with the collection of USState type, so we can cast the SelectedItem to particular type.
void sfListView1_DoubleClick(object sender, EventArgs e)
{
//Texto da seleção
string Seleção = (sfListView1.SelectedItems[0] as USState).LongName.ToString();
MessageBox.Show(Seleção);
} |
We have prepared the simple sample to achieve your requirement.
Please refer the below screen shot for your reference.
Let us know whether this helps also if you need any further assistance on this.
Regards,
Jagadeesan