Back to Devexpress

TdxCustomNavBar.ViewStyle Property

vcl-dxnavbar-dot-tdxcustomnavbar-b17b4742.md

latest1.1 KB
Original Source

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

Registering Custom Views

TdxCustomNavBar Class

TdxCustomNavBar Members

dxNavBar Unit