Changing the background color of the minimize bar

2 posts, 1 answers
  1. zaheer dollie
    zaheer dollie avatar
    2 posts
    Member since:
    Nov 2009

    Posted 24 Apr 2014 Link to this post

    Hi

    How do i change the background color of the minimized bar (the sidebar that has "Folders" on it)


    Thanks
    Zaheer
  2. Answer
    Kiril Vandov
    Admin
    Kiril Vandov avatar
    324 posts

    Posted 25 Apr 2014 Link to this post

    Hello Zaheer,

    The element that holds (the sidebar that has "Folders" on it) is actually a DropDownButton which is shown when you minimize the OutlookBar. The easiest way to change that button default background is to use our NoXaml binaries and merge the xaml files of the controls you will refer in your project, you can find more information about this approach in this article. Doing so you will be able to edit any part of the style that you want, like in your case the Background of the "MinimizedContentElement" button.
    In your case once you merge the necessary xaml files you will need to find an element with x:Name="MinimizedContentElement" and change its Background property.

    I have prepared a sample project demonstrating this approach for your convenience.

    I hope this information helps.

    Kind regards,
    Kiril Vandov
    Telerik
     
    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
     
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top