Creating tabs in WinRT

前端 未结 4 834
南方客
南方客 2021-02-01 20:04

I\'m working on a C#/XAML Metro style app for Windows 8. The XAML in WinRT does not have a \"tab\" control. However, I\'m trying to emulate the way a result in the Windows 8 sto

4条回答
  •  没有蜡笔的小新
    2021-02-01 21:01

    Here is the style to use for radio buttons to make them look/work like tabs:

        
    
    

    You can then define a grid to hold the tab stack panel and a frame to hold the content associated with each tab. Use Click event on the radio buttons to navigate the frame to the appropriate pages for each "tab".

     
            
            
                
                
            
            
                
                
                
            
            
        
    

提交回复
热议问题