13 Answers, 1 is accepted
You can get to the GroupPanelElement as per the code below
If you'd like to let me know exactly what you wish to do with it, I'll do my best to help
What i was hopping to know is how is it possible to change that element in Visual Style Builder, since i cant find that element.
Best regards, Daniel.
To be honest, my knowledge of VSB is not as high as some of the other Telerik products. But I have found this link which explains how to change the elements you need in code.
I hope this helps but if you need more information, just let me know
Best regards, Daniel
I will see what I can find out and let you know if I do.
this is the GridRowHeaderCellElement and the arrow comes from an image, therefore to change the colour of the arrow, you need to provide your own image.
Hope that helps
Thank you for writing.
In order to customize the elements from the group panel by using Visual Style Builder, you can refer to the attached screenshots which illustrate how to change to group view and customize the color for the GroupFieldElements.
I hope this information helps. Should you have further questions I would be glad to help.
Can you please explain how can I change GroupFieldElements background color with SetThemeValueOverride from the code?
I try to do it in this way, but doesn't work:
gridview.GridViewElement.GroupPanelElement.SetThemeValueOverride(VisualElement.BackColorProperty, Color.Red, "GroupFieldElement");
gridview.GridViewElement.GroupPanelElement.SetThemeValueOverride(LightVisualElement.DrawFillProperty, true, "GroupFieldElement");
gridview.GridViewElement.GroupPanelElement.SetThemeValueOverride(LightVisualElement.GradientStyleProperty, GradientStyles.Solid, "GroupFieldElement");
You should call the SetThemeValueOverride method on each item:
I hope this will be useful. Let me know if you have additional questions.