Skip to main content

TdxCustomNavBar.ViewStyle Property

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

Declaration

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.

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

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

See Also