All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
Hi
How could I adjust in VB.NET the backcolor of all my child templates?
I mean the property equivalent to TableElement.BackColor for MasterTemplate
I point that area in my attached file
Thanks in advance
Kind regards
Private
Sub
RadGridView1_ViewCellFormatting(
ByVal
sender
As
Object
,
e
CellFormattingEventArgs)
Dim
detailCell
GridDetailViewCellElement = TryCast(e.CellElement, GridDetailViewCellElement)
If
detailCell IsNot
Nothing
Then
detailCell.NumberOfColors = 1
detailCell.BackColor = Color.LightGreen
Else
e.CellElement.ResetValue(LightVisualElement.NumberOfColorsProperty, Telerik.WinControls.ValueResetFlags.Local)
e.CellElement.ResetValue(LightVisualElement.BackColorProperty, Telerik.WinControls.ValueResetFlags.Local)
End