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

making bigger the toggle button generated by the GridViewToggleRowDetailsColumn

8 Answers 68 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Jorge Alberto
Top achievements
Rank 1
Jorge Alberto asked on 02 Aug 2010, 08:28 AM
Hello :)

I have a question: How can I make bigger the toggle button generated by the GridViewToggleRowDetailsColumn. 
Is it possible?
I hope you can help me.

Best regards,
Jorge Alberto

8 Answers, 1 is accepted

Sort by
0
Kalin Milanov
Telerik team
answered on 04 Aug 2010, 08:33 AM
Hi Jorge Alberto,

To do so you can edit the template of the GridViewToggleButton and then apply it as implicit style to the grid. Attached I am sending you a sample which does just that. I hope you will find it useful.

Best wishes,
Kalin Milanov
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
Technique
Top achievements
Rank 1
answered on 01 Nov 2013, 05:35 PM
Hi,

I applied the style implemented in the attachment of your reply, Jorge, but all it does is that it overrides the theme I selected...
How can I make the icon bigger and apply the Office_Blue theme?

Thanks!
0
Vanya Pavlova
Telerik team
answered on 06 Nov 2013, 08:23 AM
Hi Louis,

 

Styles used in our themes are theme specific. If you want to modify particular style against non-default theme you can get the style from the Themes folder of your personal installation.  
Hope this helps!
 

Regards,
Vanya Pavlova
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
0
Technique
Top achievements
Rank 1
answered on 07 Nov 2013, 01:46 PM
Hi,

And how can I make the icon bigger...
With the given style, I don't see any changes on the size of the icon and I can't seem to find a way to modify it in order to make it bigger.

Thanks!
0
Vanya Pavlova
Telerik team
answered on 07 Nov 2013, 01:52 PM
Hi Louis,


You have changed the key for the theme. However the brush resources are still from Office_Black.
You should copy and replace the resources for Office_Blue theme to your modified style and you will get the desired look and feel. 




Regards,
Vanya Pavlova
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
0
Technique
Top achievements
Rank 1
answered on 07 Nov 2013, 02:28 PM
Hi,

I must be dumb or missing something, because I don't know how to get the values for the GradientStops and the Foreground value of a theme of which I only have the DLL... Anyway, the problem is not in the theme, it is in the fact that the toggle button is not bigger, which was the point of this thread, wasn't it?

Even if the toggle is black instead of blue (which is not a matter of life or death), it is still the exact same size and I can't find which property I am supposed to modify to do so.

Thanks!
0
Vanya Pavlova
Telerik team
answered on 08 Nov 2013, 08:34 AM
Hello Jorge,


I am attaching you sample application, which demonstrates how to achieve our goal.



Regards,
Vanya Pavlova
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
0
Technique
Top achievements
Rank 1
answered on 08 Nov 2013, 06:23 PM
Hi,

Thank you very much, that works like a charm.



Tags
GridView
Asked by
Jorge Alberto
Top achievements
Rank 1
Answers by
Kalin Milanov
Telerik team
Technique
Top achievements
Rank 1
Vanya Pavlova
Telerik team
Share this question
or