TdxCustomNavBar.View Property
Specifies the View currently applied to the control.
Declaration
property View: Integer read; write;
Property Value
Type |
---|
Integer |
Remarks
Possible values include:
Value (ID) | Constant (Stores the ID) | View | Painter Class | Painter Unit Name |
---|---|---|---|---|
0 | dxNavBarBaseView | BaseView | TdxNavBarBasePainter | dxNavBarBaseViews |
1 | dxNavBarFlatView | FlatView | TdxNavBarFlatPainter | dxNavBarBaseViews |
2 | dxNavBarOffice1View | Office1View | TdxNavBarOffice1Painter | dxNavBarOfficeViews |
3 | dxNavBarOffice2View | Office2View | TdxNavBarOffice2Painter | dxNavBarOfficeViews |
4 | dxNavBarOffice3View | Office3View | TdxNavBarOffice3Painter | dxNavBarOfficeViews |
5 | dxNavBarVSToolBoxView | VSToolBoxView | TdxNavBarVSToolBoxPainter | dxNavBarVSToolBoxViews |
6 | dxNavBarXP1View | XP1View | TdxNavBarXP1Painter | dxNavBarXPViews |
7 | dxNavBarXP2View | XP2View | TdxNavBarXP2Painter | dxNavBarXPViews |
8 | dxNavBarExplorerBarView | ExplorerBarView | TdxNavBarExplorerBarPainter | dxNavBarExplorerViews |
9 | dxNavBarUltraFlatExplorerView | UltraFlatExplorerBarView | TdxNavBarUltraFlatExplorerBarPainter | dxNavBarExplorerViews |
10 | dxNavBarAdvExplorerBarView | AdvExplorerBarView | TdxNavBarAdvExplorerBarPainter | dxNavBarExplorerViews |
11 | dxNavBarXPExplorerBarView | XPExplorerBarView | TdxNavBarXPExplorerBarPainter | dxNavBarXPViews |
12 | dxNavBarOffice11TaskPaneView | Office11TaskPaneView | TdxNavBarOffice11Painter | dxNavBarOffice11Views |
13 | dxNavBarOffice11NavigatorPaneView | Office11NavigationPaneView | TdxNavBarOffice11NavPanePainter | dxNavBarOffice11Views |
14 | dxNavBarSkinExplorerBarView | SkinExplorerBarView | TdxNavBarSkinExplorerBarPainter | dxSkinsdxNavBarPainter |
15 | dxNavBarSkinNavigatorPaneView | SkinNavigationPaneView | TdxNavBarSkinNavPanePainter | dxSkinsdxNavBarPainter |
16 | dxNavBarOffice11ExplorerBarView | Office11ExplorerBarView | TdxNavBarOffice11ExplorerBarPainter | dxNavBarOffice11Views |
17 | dxNavBarOffice12NavigatorPaneView | Office12NavigationPaneView | TdxNavBarOffice12NavPanePainter | dxNavBarOffice12Views |
18 | dxNavBarOffice12ExplorerBarView | Office12ExplorerBarView | TdxNavBarOffice12ExplorerBarPainter | dxNavBarOffice12Views |
19 | dxNavBarVistaExplorerBarView | VistaExplorerBarView | TdxNavBarVistaExplorerBarPainter | dxNavBarVistaViews |
20 | dxNavBarAccordionView | AccordionView | TdxNavBarAccordionViewPainter | dxSkinsdxNavBarAccordionViewPainter |
21 | dxNavBarHamburgerMenu | HamburgerMenu | TdxNavBarHamburgerMenuPainter | dxSkinsdxNavBarHamburgerMenuPainter |
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