Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxNavBarDefaultStyle Class

Provides default style settings for NavBar elements.

#Declaration

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

See Also