Minimize button orientation in a theme

10 posts, 2 answers
  1. Ronald
    Ronald avatar
    21 posts
    Member since:
    Dec 2007

    Posted 21 Mar 2012 Link to this post

    Hi, 

    A long time ago I received some help with changing the minimizebutton orientation:
    (I can now continue with this project.)

    http://www.telerik.com/community/forums/silverlight/outlookbar/outlookbar-minimize-button-orientation.aspx

    I have to show this OutlookBar in different themes.
    Of course the button (and bar) are using the default Office Black theme, the other parts are changed correctly.

    How can I accomplish this?
    Thanks,
    Ronald
  2. Answer
    Viktor Tsvetkov
    Admin
    Viktor Tsvetkov avatar
    382 posts

    Posted 23 Mar 2012 Link to this post

    Hi Ronald,

    Currently if you want to dynamically change the themes of the RadOutlookBar you should have such predefined styles for the MinimizeButtonStyle property for each theme and to asign them when you change the theme. In order to make your life easier in such scenarios I have logged a PITS item named "OutlookBar: Add a property which changes the minimize button orientation" which will be ready for tracking and voting tomorrow the latest.

    Kind regards,
    Viktor Tsvetkov
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
  3. DevCraft banner
  4. Ronald
    Ronald avatar
    21 posts
    Member since:
    Dec 2007

    Posted 23 Mar 2012 Link to this post

    Hi Viktor, thanks for your reply and the

    Can you give me a quick tip on how to do that on a theme?
    It was easy with the default office black theme but I'm not very good with Blend. So I'm very happy to build the application wtih your controls and thems :-)

    Best regards,
    Ronald

  5. Viktor Tsvetkov
    Admin
    Viktor Tsvetkov avatar
    382 posts

    Posted 28 Mar 2012 Link to this post

    Hello Ronald,

    Actually you won't need to use Bled because the styles for all our themes are located in the Themes.sln and you can find there anything you need. Could you please provide more information on what you exactly what to achieve: which themes do you use; do you need to change them dynamically and etc.?

    All the best,
    Viktor Tsvetkov
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
  6. Ronald
    Ronald avatar
    21 posts
    Member since:
    Dec 2007

    Posted 28 Mar 2012 Link to this post

    Hello Viktor, thanks for the reply

    my client currently supports the office black, windows7 and transparent theme.
    I have also implemented the metro theme, but experienced some problems that I can ask later I hope.

    Our consultants are showing our Silverlight client to our customers and theming is a big selling point I understand. So to answer your question the theming is dynamic. :-)
    After a long break from Silverlight (after the SL=dead), we can now finish this version.

    I implemented the solution provided by Tina in this thread: http://www.telerik.com/community/forums/silverlight/outlookbar/outlookbar-minimize-button-orientation.aspx

    Only the topbar and button are changed in the resource, I wanted to do the same with themes.
    If I understood you correctly I have to copy the oulookbar theme in the themes solution, change the button (and key name or names?)

    So perhaps with an example I hoped you could make me understand it a bit better :-)

    Hope I made my problem a bit clearer to you,
    Thanks,
    Ronald
  7. Viktor Tsvetkov
    Admin
    Viktor Tsvetkov avatar
    382 posts

    Posted 02 Apr 2012 Link to this post

    Hello Ronald,

    I should apologize you for my previous posts because they are a little bit misleading. Actually the RadOutlookBar is missing the MinimizeButtonStyle property (which you should use in order to achieve what I proposed) but it is already included and you will be able to use it with the coming internal build. So could you please examine the attached sample project and test it with the binaries from the internal build which will be available today or tomorrow the latest?

    Regards,
    Viktor Tsvetkov
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
  8. Ronald
    Ronald avatar
    21 posts
    Member since:
    Dec 2007

    Posted 02 Apr 2012 Link to this post

    Hi Viktor, thanks for the reply and I will test test the sample project as soon as the binaries will come available.

    Thanks,
    Ronald
  9. Ronald
    Ronald avatar
    21 posts
    Member since:
    Dec 2007

    Posted 03 Apr 2012 Link to this post

    Hi, I did some testing with your project and I encountered 2 problemens (sorry)

    1 When I change the theme to Metro, the arrow is facing the wrong direction but when I apply the metrostyle in xaml the arrow is pointing in the correct direction.

    2. I think it's nicer to change the allignment of the button to the left. My outlookbar is aligned to the right side. So When I minize it, it collapses to the right. I enclosed a small picture of the header as how it's working now in my project with the office_black theme.

    Thanks,
    Ronald
  10. Answer
    Viktor Tsvetkov
    Admin
    Viktor Tsvetkov avatar
    382 posts

    Posted 05 Apr 2012 Link to this post

    Hi Ronald,

    Could you please examine the modified project and tell me if it works for you?

    All the best,
    Viktor Tsvetkov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  11. Ronald
    Ronald avatar
    21 posts
    Member since:
    Dec 2007

    Posted 06 Apr 2012 Link to this post

    Hi Viktor!

    This is exactly is I wanted the control to behave, thanks!
    I will try to implement this this weekend so I can make the consultants happy.

    (Bit of a challenge is that I also use a left-aligned outlookbar in the application)

    Thanks,
    Ronald


Back to Top
DevCraft banner