hey,
I'm using Windows 8 Theme in Telerik for Winforms 2018.1.116.40.
With this theme, in a GridViewCommandColumn, buttons are not really cutes, the cells likes grey and user doesn't see it's a button.
So, i want to reduce the size of buttons and center them in the cells.
I use command lines below in CellFormatting event
Dim button As RadButtonElement = CType(e.CellElement.Children(0), RadButtonElement)button.Margin = New Padding(2)In this case, some borders are no more visible (cf attached file).
Have you got an idea please ?
Subsidiary question : If on a condition, i only want my html text but without button i use the code in cellFormating event
element.CommandButton.ButtonFillElement.NumberOfColors = 1element.CommandButton.ButtonFillElement.BackColor = Color.FromArgb(255, 255, 255, 255)button.BorderElement.Visibility = ElementVisibility.Hiddenit works, but it's surely a poor code, i have tried too with
button.BorderElement.Visibility = ElementVisibility.Hiddenand i don't see button and text.
If you have a better code ;)
Thanks for your help
--
Romain
