Hello.
In Winforms RadgridView, I'm trying to draw a border on the right side of the cell.
If I set RadGrid theme to "VisualStudio2022Light", the frame is not displayed. Other themes (not all) work good.
Private Sub RadGridView1_CellFormatting(sender As Object, e As CellFormattingEventArgs) Handles RadGridView1.CellFormatting If e.CellElement.IsSelected Then e.CellElement.DrawBorder = True e.CellElement.BorderBoxStyle = Telerik.WinControls.BorderBoxStyle.FourBorders e.CellElement.BorderRightWidth = 1 e.CellElement.BorderRightColor = Color.Red Else e.CellElement.ResetValue(LightVisualElement.DrawBorderProperty, ValueResetFlags.Local) e.CellElement.ResetValue(LightVisualElement.BorderBoxStyleProperty, ValueResetFlags.Local) e.CellElement.ResetValue(LightVisualElement.BorderRightWidthProperty, ValueResetFlags.Local) e.CellElement.ResetValue(LightVisualElement.BorderRightColorProperty, ValueResetFlags.Local) End If
How can I solve the problem without using VSB.
Regards
Jack