VitzzViperzz
Well-known member
I am following a tutorial on MSDN and it says that you should 'set the View property to Details'.
I have tried this in various ways, but it just won't accept my code.
My code:
Could someone say why this won't work? I am sure it's a nooby mistake but I really cannot tell.
Thanks
Tutorial link
I have tried this in various ways, but it just won't accept my code.
My code:
C#:
private void listView1_SelectedIndexChanged(object sender, EventArgs e)
{
Dock = DockStyle.Fill;
View View.Details;
}
Could someone say why this won't work? I am sure it's a nooby mistake but I really cannot tell.
Thanks
Tutorial link