This is a migrated thread and some comments may be shown as answers.

Accesing properties of Custom Item in RadListView

2 Answers 112 Views
ListView
This is a migrated thread and some comments may be shown as answers.
Fernando
Top achievements
Rank 1
Fernando asked on 14 Mar 2018, 01:35 PM

I'm trying to make a custom list as the one in the image below using radListView, so far I was already able to create the custom item as i want it to be by creating a custom item that inherits from IconListViewVisualItem  but I'm having trouble to access my custom item's properties, so I can hide and show controls as needed as well as the content on them. 

Thanks in advance. 

2 Answers, 1 is accepted

Sort by
0
Accepted
Dess | Tech Support Engineer, Principal
Telerik team
answered on 14 Mar 2018, 02:04 PM
Hello, Fernando,

Thank you for writing.  

According to the provided screenshot I suppose that you have already had a look at the following help article which is quite useful about creating custom items in RadListView: https://docs.telerik.com/devtools/winforms/listview/custom-items
In the SynchronizeProperties method of the custom IconListViewVisualItem you can show/hide some of the inner elements that you have and achieve your requirement. The SynchronizeProperties method is the appropriate place to load the relevant data according to the underlying data item to which you have access.

If you are still experiencing any further difficulties it would be greatly appreciated if you can submit a support ticket and provide a sample project with your custom implementation demonstrating the undesired behavior. Thus, we would be able to investigate the precise case and assist you further. Thank you in advance.
  
I hope this information helps. Should you have further questions I would be glad to help. 
 
 Regards,
Dess
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Fernando
Top achievements
Rank 1
answered on 14 Mar 2018, 02:15 PM

Hi Dess, thanks for your answer, it has resolved the issue.

Kind Regards,

Fernando.

Tags
ListView
Asked by
Fernando
Top achievements
Rank 1
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Fernando
Top achievements
Rank 1
Share this question
or