How to make AdaptiveTrigger use full window width instead of page width?
02:19 07 Apr 2026

I am working on a WIN UI 3 application that features a left navigation bar and multiple pages. The left nav bar remains visible at all times.

I am implementing device UI handling for when the window is minimized and maximized.

I have added this code to one of the pages.

We are adjusting the parameter according to MinWindowWidth, but I want it to apply to the entire window width, including the navigation bar, rather than just the specific page.

Currently, the result is that the parameter is applied only to the page, not to the entire window.


  
    
      
        
          
        
        
          
          
          
          
        
      

      
        
          
        
        
          
          
          
          
        
      

      
        
          
        
        
          
          
          
          
        
      

      
        
          
        
        
          
          
          
          
          
          
          
          
          
        
      

      
        
          
        
        
          
          
          
          
          
          
          
          
          
        
      
    
  

  
    
      

        
          
          
        

        
          
          
        

        
          
          
          
        

        

          
          

        
      
    
  

xaml winui-3 winui-xaml