Telerik.WinControls.UI.BaseListViewVisualItem Class

2 posts, 0 answers
  1. Sam
    Sam avatar
    3 posts
    Member since:
    Sep 2011

    Posted 06 Dec 2011 Link to this post

    hi there,

    i have a question about the classes that inherit form Telerik.WinControls.UI.BaseListViewVisualItem.

    What are the differences between the following children classes:



    I ask because I have a RadListView where i want to add records/rows that contain Microsoft user controls.  so on that note, which class should be best used for this?

    Thank you
  2. Ivan Todorov
    Ivan Todorov avatar
    688 posts

    Posted 08 Dec 2011 Link to this post

    Hi Sam,

    Thank you for your question.

    These classes represent the visual items in the different view modes of RadListView. BaseListViewVisualItem is the base class for all visual items. SimpleListViewVisualItem is the visual item used in SimpleView, IconListViewVisualItem is the one used in IconView and DetailListViewVisualItem is the one used in DetailView.

    If you want to use custom items, then you should inherit from one of the SimpleListViewVisualItem, IconListViewVisualItem or DetailListViewVisualItem, depending on which view mode are you going to use. More information on how to achieve this can be found in this help article. If you want to add user controls, then you should add a RadHostItem to the visual item's children, however, this is not a supported scenario and might cause some problems.

    A bit off-topic, I would like to remind you about the question regarding your license, that we have asked you in a thread named "RadSelectedNodesCollection not available in Telerik WinForm". Answering it will allow us to continue supporting your enquries.

    I hope you find this information useful.

    Kind regards,
    Ivan Todorov
    the Telerik team

    Q3’11 of RadControls for WinForms is available for download (see what's new). Get it today.

  3. DevCraft banner
Back to Top