Dim
RE As RadElement = DirectCast(Me.rgbPharmacyInformation.RootElement.Children(0).Children(1).
Children(2).Children(1), RadElement)
The zeroth child of the root element is the RadGroupBoxElement.
The First child of the RadGroupBoxElement is the GroupBoxHeader element.
The second child of the GroupBoxHesder elelemnt is the ImageAndTextLayoutPanel element.
The first child of the ImageAndTextLayoutPanel element is text.
Looking at the property inspector in VS2010, I see properties for this element and the property I would like to change is the Fioreground color. But what do I cast the "text" element as (In the above code, the "text" can be successfully cast to a RadElement)? How can I get to this property?
Anybody's assistance would be appreciated! Thank you for your time!