Setting -View- property to -Details-

VitzzViperzz

Well-known member
Joined
Jan 16, 2017
Messages
75
Location
United Kingdom
Programming Experience
1-3
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:

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
 
Good luck.

Sent from my SM-G955U using Tapatalk

Hey it worked! I finished the task as well.

Capture.PNG

I have also left an indication of the time (bottom right corner) as to how late it is and I am still working.
 
Back
Top Bottom