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

How to customize a RadListView when is in "DetailsView"

5 Answers 126 Views
Themes and Visual Style Builder
This is a migrated thread and some comments may be shown as answers.
Giovanni
Top achievements
Rank 1
Iron
Iron
Iron
Giovanni asked on 24 Oct 2012, 10:09 AM
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.

5 Answers, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 24 Oct 2012, 01:26 PM
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.
0
Giovanni
Top achievements
Rank 1
Iron
Iron
Iron
answered on 24 Oct 2012, 02:18 PM
Many thanks!
And how can I customize items in a RadDropDownList (see the attached screenshot)?

Thank you again
0
Stefan
Telerik team
answered on 24 Oct 2012, 02:25 PM
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.
0
Giovanni
Top achievements
Rank 1
Iron
Iron
Iron
answered on 24 Oct 2012, 03:30 PM
But how can I set the the theme for the child RadControl?

My code is:

Me.RadDropDownList1.ThemeName = "MyTheme"

Thanks.
0
Stefan
Telerik team
answered on 29 Oct 2012, 09:38 AM
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.
Tags
Themes and Visual Style Builder
Asked by
Giovanni
Top achievements
Rank 1
Iron
Iron
Iron
Answers by
Stefan
Telerik team
Giovanni
Top achievements
Rank 1
Iron
Iron
Iron
Share this question
or