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

TdxCustomNavBar.ViewStyle Property

Provides access to a painter that is used for the currently applied View.

#Declaration

Delphi
property ViewStyle: TdxNavBarPainter read; write;

#Property Value

Type
TdxNavBarPainter

#Remarks

To access painter settings that are specific to the currently applied View, cast this property to a corresponding painter class.

The following code example demonstrates how to assign the SkinName property when the SkinNavigationPaneView is applied to the NavBar control.

Delphi
uses
  ..., dxSkinsdxNavBarPainter;
// ...
TdxNavBarSkinNavPanePainter(dxNavBar1.ViewStyle).SkinName := 'Caramel';

Refer to the View property description to learn about available painter classes.

See Also