How to make an application titlebar similar to that of Visual Studio?

Hello,

Can you tell me how to make an application titlebar which is similar to that of Visual Studio, please?


Thank you in advance.


3 Replies 1 reply marked as answer

TB Thirupathi Bala Krishnan Syncfusion Team September 7, 2021 05:44 PM UTC

Hi Rodrigue 


Thanks for contacting Syncfusion support.
 
We have analyzed your reported query "How to make an application titlebar similar to Visual Studio." We created a sample based on your specifications. In this case, we used the Menu and ToolBar controls, which are similar to those found in Visual Studio. 


Please let us know if you need any further assistance. 
Regards,
Thirupathi B.
 
  
  
  


Marked as answer

PE Peter September 8, 2021 09:49 PM UTC

Thanks to you, I finally understood how to use RightHeaderItemsSource :)

Thank you very much. 

Note: in Visual Studio when you decrease the width of your application, the file menu works like a WrapPanel. There is nothing clipped.



TB Thirupathi Bala Krishnan Syncfusion Team September 10, 2021 01:57 AM UTC

Hi Rodrigue,

Thanks for the update.
 
 
We confirmed that our solution meets your requirement. Please refer the following UG documentation for more information on the LeftHeaderItemsSource and RightHeaderItemsSource properties.
https://help.syncfusion.com/wpf/chromeless-window/adding-controls-in-the-titlebar

Meanwhile we checked the reported query “in Visual Studio when you decrease the width of your application, the file menu works like a WrapPanel”. In your working sample, we recommend that you use the Wrap panel. Otherwise, set the ReSizeMode property value to 'NoResize' to restrict the window resize.
https://docs.microsoft.com/en-us/dotnet/api/system.windows.window.resizemode?view=net-5.0 

Still if you are facing the issue, could you please share the detailed description so that it could be helpful to provide the solution at the earliest. 
 
Regards,
Thirupathi B.
 


Loader.
Up arrow icon