I have something like 15 grids and I want to put them in on one control with some kind of navigation ... something like tabs panel but instead of tabs I would like to have开发者_如何学运维 arrow or page number.
Any Idea?
Place all the (15) grids in a List<Grid>
gridList. Create a ContentControl
and put first item of gridList
as content
of ContentControl
. Provide buttons(arrow) for forward and back. On the arrow button click change the content of ContentControl
based on which button (forward or backward) has been clicked by selecting appropriate Grid from the gridList.
Use Frame with several Page objects - you will get Next and Previous controls, history and more for free.
Creating navigation based applications in WPF.
精彩评论