I want to set the size of list view..
how to set height, weight of listview??
Loading
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Sanjeeb LenkaRank #301 · 8.3K reputationPosted Sep 1, 2013, 10:09 PM EDT
you can fixed it in property window.
or
by code
listView1.Width=100;
listView1.Height=100;
Manj N144 reputationPosted Sep 1, 2013, 10:11 PM EDT
Sanjeeb LenkaRank #301 · 8.3K reputationPosted Sep 1, 2013, 10:14 PM EDT
Nitesh KejriwalRank #253 · 9.9K reputationPosted Sep 1, 2013, 10:15 PM EDT
style="width:200px;height:300px;"
Manj N144 reputationPosted Sep 1, 2013, 10:16 PM EDT
Manj N144 reputationPosted Sep 1, 2013, 10:16 PM EDT
Nitesh KejriwalRank #253 · 9.9K reputationPosted Sep 1, 2013, 10:35 PM EDT
Sanjeeb LenkaRank #301 · 8.3K reputationPosted Sep 1, 2013, 10:36 PM EDT
Refer to this link
http://asp-net-example.blogspot.in/2009/12/listview-itemtemplate-and.html