Skip to main content
A newer version of this page is available. .

Custom Style

You can use default and custom styles to customize the appearance of the NavBar control.

Default and custom styles are used to specify the color and font settings for corresponding NavBar elements. The difference between them is that default styles determine the appearance of all corresponding NavBar elements (all NavBar groups, links, hints and scroll buttons). The purpose of custom styles is to determine the appearance of individual NavBar elements.

The NavBar control enables you to set custom styles for the control itself, group and item objects. Custom styles are represented by a number of properties (their names start with the Style prefix). Refer to the Assigning Styles to Elements topic for more info.

The following image shows the NavBar control displaying three groups. Custom styles are assigned to the Temp group using the group’s CustomStyles.Background and CustomStyles.Header properties. Other groups are painted according to the default style settings.

See Also