The Visibility property is the only RadProperty
which has the same priority when set through theme and through code. Generally speaking setting RadProperty
through code would have greater priority. Nevertheless, you can apply the new value right after setting the ThemeName
- for example in the code of Form.Load
|private void Form1_Load(object sender, EventArgs e)
| this.radPanel1.PanelElement.Children.Visibility = ElementVisibility.Visible;
The tricky part here is to use the "UI element editor" in the visual studio designer for both setting the color of the border and to determine its "Child" index (it is  in the code sample above). Then you can use the index to access the border color from the code of your app.
the Telerik team