or
radgridview1.GridElement.BeginUpdate()
For Each row As GridViewDataRowInfo In radgridview1.Rows
row.IsExpanded =
True
Next
radgridview1.GridElement.EndUpdate()
The hierachical rows and child rows are showing fine. However symbol for collapsing is missing. I am using Vista theme.
In another form using same properties and theme ^ and upside down ^ shows up for expanding and collapsing. What could be the reason?
Regards ... DP
| Dim oFillSelector As New ClassSelector("TabFill") |
| Dim oTabFill As FillPrimitive = TryCast(oFillSelector.GetSelectedElements(Me.tsTabs.SelectedTab)(0), FillPrimitive) |
| If oTabFill.BackColor <> Color.Yellow Then |
| oTabFill.BackColor = Color.Yellow |
| oTabFill.BackColor2 = Color.Yellow |
| oTabFill.BackColor3 = Color.Yellow |
| oTabFill.BackColor4 = Color.Yellow |
| End If |
| For i as int32 = 0 to Me.tsTabs.Items.Count -1 |
| Dim oFillSelector As New ClassSelector("TabFill") |
| Dim oTabFill As FillPrimitive = TryCast(oFillSelector.GetSelectedElements(Me.tsTabs.Items(i))(0), FillPrimitive) |
| oTabFill.ResetValue(FillPrimitive.BackColorProperty) |
| oTabFill.ResetValue(FillPrimitive.BackColor2Property) |
| oTabFill.ResetValue(FillPrimitive.BackColor3Property) |
| oTabFill.ResetValue(FillPrimitive.BackColor4Property) |
| Next |