Edit this page

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 RadBrowseEditor.

Design time

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

Fig.1 Element Hierarchy Editor

browseeditor customizing appearance customizing appearance 001

Programmatically

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

Fig.2 Customize Elements

browseeditor customizing appearance customizing appearance 002

Customize elements

this.radBrowseEditor1.BrowseElement.BrowseButton.ButtonFillElement.NumberOfColors = 1;
this.radBrowseEditor1.BrowseElement.BrowseButton.ButtonFillElement.BackColor = Color.LightGreen;

Me.RadBrowseEditor1.BrowseElement.BrowseButton.ButtonFillElement.NumberOfColors = 1
Me.RadBrowseEditor1.BrowseElement.BrowseButton.ButtonFillElement.BackColor = Color.LightGreen

See Also