This is a migrated thread and some comments may be shown as answers.
Custom RadListView
6 Answers 98 Views
This is a migrated thread and some comments may be shown as answers.
LE THANH
Top achievements
Rank 1
LE THANH asked on 22 Apr 2013, 10:56 AM
Im new bie in Telerik Winform.
I want to create ListView like Google Talk list user same as:

http://www.mediafire.com/view/?1mo7uemelr0fn1d

Who can give me simple project demo, please!!!! Thanks in advance!!!

6 Answers, 1 is accepted

Sort by
0
Paul
Telerik team
answered on 25 Apr 2013, 10:53 AM
Hi Le Thanh,

Thank you for writing.

You can create ListView like Google Talk no doubt. In order to do that you will have to make your own custom visual element. After you do that you can bind it to the table, list, etc. with the users and visualize it to the screen.

I have created a sample project, which will give you idea how to do that and allow easy customizations which will help you fit your exact requirements.

I hope this helps.

Regards,
Nikolay Aleksiev
the Telerik team
WinForms Q1 2013 boasts PivotGrid, PDF Viewer, Chart enhancements and more. Check out all of the latest highlights.
0
LE THANH
Top achievements
Rank 1
answered on 02 May 2013, 02:49 PM
Thank you very much for the example project !
But with example project, how to access custom item to change elemtent of it, ex: userstatus from "Available" to "Offline" :

MyCustomVisualItem item = radListView1.ListViewElement.ViewElement.GetElement(radListView1.Items[0]) as MyCustomVisualItem;
how to change element of item: statusImage, userName, userStatus, userPhoto ???
0
LE THANH
Top achievements
Rank 1
answered on 02 May 2013, 04:05 PM
and how to group custom item with sample project by code:
this.radListView1.DataSource = usersList;
0
Paul
Telerik team
answered on 07 May 2013, 12:14 PM
Hello Le Thanh,

In order to react on user property changes, your user class have to implement the INotifyPropertyChanged interface and you will have to raise the PropertyChanged event.

In order to group the users, you will have to create groups and specify the group a user should be assigned to. Later when you change the user's properties you can also change the groups they belong to. I have also added sorting just to give you basic idea.

I have attached a sample project to show you everything in action.

Hope this helps. Please let me know if you have further questions.

Kind regards,
Paul
the Telerik team
WinForms Q1 2013 boasts PivotGrid, PDF Viewer, Chart enhancements and more. Check out all of the latest highlights.
0
LE THANH
Top achievements
Rank 1
answered on 13 May 2013, 04:17 PM
Thank you very much, I understood and done project like image
But please help me with same problem in topic : ListView DragDrop with Groups     and i written my problem in end of topic
0
Stefan
Telerik team
answered on 16 May 2013, 10:32 AM
I am glad everything with this case is sorted out. Please expect our answer in the mentioned forum thread. 
 
Greetings,
Stefan
the Telerik team
RadChart for WinForms is obsolete. Now what?
Asked by
LE THANH
Top achievements
Rank 1
Answers by
Paul
Telerik team
LE THANH
Top achievements
Rank 1
Stefan
Telerik team
Share this question
or