What is the Height of the Minimized Application Bar in Windows Phone

前端 未结 2 1118
攒了一身酷
攒了一身酷 2021-01-21 10:30

I\'m curious of how it would be possible to get the height of the Windows Phone application bar when in \'mini\' mode. I\'ve seen several resources on the height when the regula

2条回答
  •  星月不相逢
    2021-01-21 11:21

    I'll help you solve this yourself. Create a test app and modify the mainpage to have the following xaml

    
    
        
        
            
        
        
            
                
                    
                
            
        
    
    

    Run the application. You'll notice the height will be displayed in the TextBlock. Take that amount and subtract it from 800 and you will have your answer.

提交回复
热议问题