New to Telerik UI for WinForms? Download free 30-day trial

Accessing and Customizing Elements

Accessing and customizing elements can be performed either at design time, or at run time. Before proceeding with this topic, it is recommended to get familiar with the visual structure of RadPanorama.

Design time

You can access and modify the style for different elements in RadPanorama by using the Element hierarchy editor.

Figure 1: RadPanorama's Element hierarchy editor

panorama-accessing-and-customizing-elements 001

If you select a RadTileElement and open the tile's smart tag, this allows you to invoke the Element hierarchy editor and customize its appearance:

panorama-accessing-and-customizing-elements 002

panorama-accessing-and-customizing-elements 003


You can customize the nested elements at run time as well:

panorama-accessing-and-customizing-elements 004

Fig.2 Customize elements

Customize elements

this.radTileElement1.BackColor= Color.DarkRed;
this.radTileElement1.BorderColor = Color.Yellow;
this.radTileElement1.TextWrap = true;
this.radTileElement1.ForeColor = Color.Aqua;

Me.RadPanorama1.BackColor = Color.Gray
Me.RadTileElement1.BackColor = Color.DarkRed
Me.RadTileElement1.BorderColor = Color.Yellow
Me.RadTileElement1.TextWrap = True
Me.RadTileElement1.ForeColor = Color.Aqua
'#End Region
End Sub
Sub MetodUsedToStoreRegions()
'#region SetTilePosition
Me.RadTileElement1.Row = 1
Me.RadTileElement1.Column = 0

See Also

In this article