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

customize style of GridViewComboBoxColumn

6 Answers 212 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Rui Martins
Top achievements
Rank 1
Rui Martins asked on 01 Jul 2010, 03:05 PM
hi to all,

thanks for the responses in advance, here is my problem:

i´m using a RadGridView and some columns use the GridViewComboBoxColumn so i nedd to style that because i don´t want for example thar the background of my drop list appears in white..

can anyone help?

thanks

Rui

6 Answers, 1 is accepted

Sort by
0
Pavel Pavlov
Telerik team
answered on 01 Jul 2010, 03:16 PM
Hello Rui Martins,

The GridViewComboBox column has the EditorStyle property.
You can set a style targeting RadComboBox  and with some setters inside you can alter almost anything in  the visual appearance of the RadComboBox editor.

In case you meet any specific troubles while implementing this  - let me know.

Sincerely yours,
Pavel Pavlov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Rui Martins
Top achievements
Rank 1
answered on 01 Jul 2010, 03:39 PM
thanks for the quickly answer...

do you know where i can find any example?

i will work on it now...

Rui.
0
Pavel Pavlov
Telerik team
answered on 01 Jul 2010, 03:43 PM
Hello Rui Martins,

I am afraid we do not have such demo online.
Let me know exactly which visual properties of the combo box you need set and I will prepare a small sample for you .

Kind regards,
Pavel Pavlov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Rui Martins
Top achievements
Rank 1
answered on 01 Jul 2010, 03:56 PM
in this style i just want to customize the dropdown list,

 for example i want to put a background color in the dropdown list, but after selected i don´t want that this background color be the background color of my gridViewcomboBox column..

to do my style i think i have to use some of this properties   
                   Property="HorizontalContentAlignment"
                    Property="VerticalContentAlignment"
                     Property="MinHeight"
                  Property="Padding"
                    Property="Foreground"
                    Property="Background"
                    Property="BorderBrush"
                    Property="BorderThickness"

i don´t understand how i can use the EditorStyle property

thanks again Pavel Pavlov.

0
Rui Martins
Top achievements
Rank 1
answered on 02 Jul 2010, 12:58 PM
hi again, i already change the background propert of my dorpdownList in my RadComboBox...

now i need to put the scrollview not visible do you now how can i do this? i can´t find any property...

thanks

Rui M.
0
Rui Martins
Top achievements
Rank 1
answered on 02 Jul 2010, 07:24 PM
already done what i ask in the previous post...
Tags
GridView
Asked by
Rui Martins
Top achievements
Rank 1
Answers by
Pavel Pavlov
Telerik team
Rui Martins
Top achievements
Rank 1
Share this question
or