TdxNavBarDefaultStyle Class
Provides default style settings for NavBar elements.
Declaration
TdxNavBarDefaultStyle = class(
TdxNavBarBaseStyle
)
Remarks
The NavBar control provides two alternatives for specifying element styles. First, you can set default styles for elements. A default style provides settings for all elements of a particular type. Default styles can be accessed via the control’s OptionsStyle.DefaultStyles property. This property exposes the TdxNavBarDefaultStyles object whose properties represent individual style objects. Each individual style object is represented by a TdxNavBarDefaultStyle instance.
The second alternative is to set custom styles for elements. Custom styles override the default settings and are in effect for a particular group, for instance.
The TdxNavBarDefaultStyle class is derived from the TdxNavBarBaseStyle class and inherits all its style properties. In addition, it provides the DefaultValues property used to determine whether style settings have been changed from the default. If so, the default style is stored within the DFM file.