How to customize a RadListView when is in "DetailsView"

6 posts, 0 answers
  1. Giovanni
    Giovanni avatar
    37 posts
    Member since:
    Feb 2011

    Posted 24 Oct 2012 Link to this post

    Hi, with VSB I can customize a theme for a RadListView displayed in "SimpleView": As I can see in the "Control Structure" panel I have on a SimpleListViewElement to customize (see the attached file).
    But if I want toi customize the theme for RadListView displayed as DetailsView, How can I do?
    When can I find and customize the DetailListViewElement?

    In general, come element are available only when some properties has certains values, but how can select and customize then using VSB?

    Thank you.
  2. Stefan
    Admin
    Stefan avatar
    2891 posts

    Posted 24 Oct 2012 Link to this post

    Hi Giovanni,

    Thank you for writing.

    To change the theme for another view in RadListView, simply right click the RadListView node in VSB and choose the desired view. Then all the elements will be displayed correctly.

    I hope this helps.
     
    All the best,
    Stefan
    the Telerik team
    You’ve been asking for it and now it’s time for us to deliver. RadControls for WinForms Q3 2012 release is just around the corner. Sign up for a free webinar to see first all the latest enhancements.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Giovanni
    Giovanni avatar
    37 posts
    Member since:
    Feb 2011

    Posted 24 Oct 2012 Link to this post

    Many thanks!
    And how can I customize items in a RadDropDownList (see the attached screenshot)?

    Thank you again
  5. Stefan
    Admin
    Stefan avatar
    2891 posts

    Posted 24 Oct 2012 Link to this post

    Hi,

    RadDropDownList internally contains RadListControl, so the theme for the list control is applied to the items in the drop down of RadDropDownList.
     
    Regards,
    Stefan
    the Telerik team
    You’ve been asking for it and now it’s time for us to deliver. RadControls for WinForms Q3 2012 release is just around the corner. Sign up for a free webinar to see first all the latest enhancements.
  6. Giovanni
    Giovanni avatar
    37 posts
    Member since:
    Feb 2011

    Posted 24 Oct 2012 Link to this post

    But how can I set the the theme for the child RadControl?

    My code is:

    Me.RadDropDownList1.ThemeName = "MyTheme"

    Thanks.
  7. Stefan
    Admin
    Stefan avatar
    2891 posts

    Posted 29 Oct 2012 Link to this post

    Hi,

    In your theme ("MyTheme") you style both the RadDropDownList and RadListControl and then, when you set the theme with the coded provided,  both the inner and the outer part will be styled, because you theme will contain themes for both.

    I hope this helps.
     
    All the best,
    Stefan
    the Telerik team
    Q3’11 of RadControls for WinForms is available for download (see what's new). Get it today.
Back to Top
UI for WinForms is Visual Studio 2017 Ready