Back to Devexpress

TdxCustomNavBar.View Property

vcl-dxnavbar-dot-tdxcustomnavbar.md

latest3.7 KB
Original Source

TdxCustomNavBar.View Property

Specifies the View currently applied to the control.

Declaration

delphi
property View: Integer read; write;

Property Value

Type
Integer

Remarks

Possible values include:

Value (ID)Constant (Stores the ID)ViewPainter ClassPainter Unit Name
0dxNavBarBaseViewBaseViewTdxNavBarBasePainterdxNavBarBaseViews
1dxNavBarFlatViewFlatViewTdxNavBarFlatPainterdxNavBarBaseViews
2dxNavBarOffice1ViewOffice1ViewTdxNavBarOffice1PainterdxNavBarOfficeViews
3dxNavBarOffice2ViewOffice2ViewTdxNavBarOffice2PainterdxNavBarOfficeViews
4dxNavBarOffice3ViewOffice3ViewTdxNavBarOffice3PainterdxNavBarOfficeViews
5dxNavBarVSToolBoxViewVSToolBoxViewTdxNavBarVSToolBoxPainterdxNavBarVSToolBoxViews
6dxNavBarXP1ViewXP1ViewTdxNavBarXP1PainterdxNavBarXPViews
7dxNavBarXP2ViewXP2ViewTdxNavBarXP2PainterdxNavBarXPViews
8dxNavBarExplorerBarViewExplorerBarViewTdxNavBarExplorerBarPainterdxNavBarExplorerViews
9dxNavBarUltraFlatExplorerViewUltraFlatExplorerBarViewTdxNavBarUltraFlatExplorerBarPainterdxNavBarExplorerViews
10dxNavBarAdvExplorerBarViewAdvExplorerBarViewTdxNavBarAdvExplorerBarPainterdxNavBarExplorerViews
11dxNavBarXPExplorerBarViewXPExplorerBarViewTdxNavBarXPExplorerBarPainterdxNavBarXPViews
12dxNavBarOffice11TaskPaneViewOffice11TaskPaneViewTdxNavBarOffice11PainterdxNavBarOffice11Views
13dxNavBarOffice11NavigatorPaneViewOffice11NavigationPaneViewTdxNavBarOffice11NavPanePainterdxNavBarOffice11Views
14dxNavBarSkinExplorerBarViewSkinExplorerBarViewTdxNavBarSkinExplorerBarPainterdxSkinsdxNavBarPainter
15dxNavBarSkinNavigatorPaneViewSkinNavigationPaneViewTdxNavBarSkinNavPanePainterdxSkinsdxNavBarPainter
16dxNavBarOffice11ExplorerBarViewOffice11ExplorerBarViewTdxNavBarOffice11ExplorerBarPainterdxNavBarOffice11Views
17dxNavBarOffice12NavigatorPaneViewOffice12NavigationPaneViewTdxNavBarOffice12NavPanePainterdxNavBarOffice12Views
18dxNavBarOffice12ExplorerBarViewOffice12ExplorerBarViewTdxNavBarOffice12ExplorerBarPainterdxNavBarOffice12Views
19dxNavBarVistaExplorerBarViewVistaExplorerBarViewTdxNavBarVistaExplorerBarPainterdxNavBarVistaViews
20dxNavBarAccordionViewAccordionViewTdxNavBarAccordionViewPainterdxSkinsdxNavBarAccordionViewPainter
21dxNavBarHamburgerMenuHamburgerMenuTdxNavBarHamburgerMenuPainterdxSkinsdxNavBarHamburgerMenuPainter

These constants are defined in the dxNavBarConsts unit. To access settings that are specific to a painter for the currently applied View, cast the ViewStyle property value to a corresponding painter class.

Note

The SkinExplorerBarView, SkinNavigationPaneView, AccordionView, and HamburgerMenu Views are available only when the ExpressSkins Library is installed.

Each time a new View is assigned, the default styles are applied to the NavBar control. Any changes made to the default styles will be lost.

See Also

Registering Custom Views

TdxCustomNavBar Class

TdxCustomNavBar Members

dxNavBar Unit