■ NavBarControl 엘리먼트에서 XAML로 컨트롤 뷰를 변경하는 방법을 보여준다.
▶ 예제 코드 (XAML)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
<dxn:NavBarControl x:Name="navBarControl"> <dxn:NavBarControl.View> <dxn:NavigationPaneView ActiveGroupMinHeight="200" /> </dxn:NavBarControl.View> <dxn:NavBarControl.Groups> <dxn:NavBarGroup Header="Group 1"> <dxn:NavBarItem Content="Item 1" /> <dxn:NavBarItem Content="Item 2" /> <dxn:NavBarItem Content="Item 3" /> </dxn:NavBarGroup> <dxn:NavBarGroup Header="Group 2"> <dxn:NavBarItem Content="Item 1" /> <dxn:NavBarItem Content="Item 2" /> </dxn:NavBarGroup> <dxn:NavBarGroup Header="Group 3"> <dxn:NavBarItem Content="Item 1" /> <dxn:NavBarItem Content="Item 2" /> <dxn:NavBarItem Content="Item 3" /> </dxn:NavBarGroup> </dxn:NavBarControl.Groups> </dxn:NavBarControl> |
※ xmlns:dxn="http://schemas.devexpress.com/winfx/2008/xaml/navbar"