Menu in TitleBar

6 posts, 0 answers
  1. Prabhakaran
    Prabhakaran avatar
    5 posts
    Member since:
    Jan 2015

    Posted 10 Jul 2015 Link to this post

    In my application I do not want to waste the space in TitleBar. So I wanted to have the menu in TitleBar. How do I achieve it using Rad controls of Telerik?
  2. Nasko
    Admin
    Nasko avatar
    588 posts

    Posted 13 Jul 2015 Link to this post

    Hi Prabhakaran,

    The desired appearance of WPF's native Window is a too custom one and the only approach that we could suggest you in order to achieve it is to modify the default Style of the Window. You need to create a custom TitleBar for the Window and inside it to place RadMenu. Please, check the following approaches that we found for you that demonstrate how to modify the default Style of the Window:
    http://blog.magnusmontin.net/2013/03/16/how-to-create-a-custom-window-in-wpf/
    http://stackoverflow.com/questions/24654845/c-sharp-wpf-custom-title-bar-drag-window-from-top-when-maximized-doesnt-wo
    http://www.codeproject.com/Articles/140267/Create-Custom-Windows-in-WPF-with-Ease

    However, please notice that this is not a supported scenario and we could not guarantee you that the Menu will work as expected in all scenarios when it is placed inside the Window's TitleBar.

    Hopes the provided information will help you.

    Regards,
    Nasko
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. UI for WPF is Visual Studio 2017 Ready
  4. Prabhakaran
    Prabhakaran avatar
    5 posts
    Member since:
    Jan 2015

    Posted 15 Jul 2015 in reply to Nasko Link to this post

    Hi Nasko,

    I can think of 2 types of layouts. One using the traditional Menubar & ToolBar. The other using Menubar with Ribbon view. Is it possible to have icons as shown in attachment in either of Toolbar or Ribbonview?

  5. Nasko
    Admin
    Nasko avatar
    588 posts

    Posted 16 Jul 2015 Link to this post

    Hi Prabhakaran,

    RadRibbonView provides a simple way of building interfaces similar to the desired one presented with the image using the Quick Access Toolbar. Please, check the following article from our help documentation that provides a detailed information about the Quick Access Toolbar:
    http://docs.telerik.com/devtools/wpf/controls/radribbonview/features/ribbon-controls/QAT

    Hopes this helps.

    Regards,
    Nasko
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  6. Prabhakaran
    Prabhakaran avatar
    5 posts
    Member since:
    Jan 2015

    Posted 16 Jul 2015 in reply to Nasko Link to this post

    Is that QAT aligned right?  Can the notifications reach the QAT?
  7. Martin
    Admin
    Martin avatar
    1101 posts

    Posted 20 Jul 2015 Link to this post

    Hello Prabhakaran,

    I am not completely sure that I understand your requirements. Can you please elaborate a little bit more on them by answering the following questions?
    • "Is that QAT aligned right?" - are you asking if the QAT can be aligned at the right side of the ribbon? If so, I am afraid that the answer is - no, this cannot be achieved out of the box. However, you should be able to get the desired effect by modifying the ribbonview's layout in its template.
    • "Can the notifications reach the QAT?"  - Can you give me more information on what notifications you mean?

    Thank you for any help you can provide.

    Regards,
    Martin
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top
UI for WPF is Visual Studio 2017 Ready