c# - Make scrollable dynamic list of objects in Windows form -
i make simple windows form application displays list of persons. list dynamic (coming webservice).
for example, assume have class person
properties id
, age
, name
, email
. code make request webservice , retrieve
list<person> list = ...;
in gui, show person in table-like, scrollable structure (each row person). important me can design rows myself , not use boring basic list text only. example, there should contact button in every row in order contact person email. or 1 column contain user image etc.
question
what common way that? use table layout panel? there tutorials out there show workflow of setup?
is there way design 1 row in visual studio designer , dynamically generate others pattern?
i appreciate tips.
i think datagridview
you're looking for. can add buttons, checkboxes, ect... table like, , can sorted if needed.
Comments
Post a Comment