This is a migrated thread and some comments may be shown as answers.

Minimize button orientation in a theme

9 Answers 89 Views
OutlookBar
This is a migrated thread and some comments may be shown as answers.
Ronald
Top achievements
Rank 2
Ronald asked on 21 Mar 2012, 11:43 AM
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

9 Answers, 1 is accepted

Sort by
0
Accepted
Viktor Tsvetkov
Telerik team
answered on 23 Mar 2012, 10:27 AM
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 >>
0
Ronald
Top achievements
Rank 2
answered on 23 Mar 2012, 11:52 AM
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

0
Viktor Tsvetkov
Telerik team
answered on 28 Mar 2012, 10:05 AM
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 >>
0
Ronald
Top achievements
Rank 2
answered on 28 Mar 2012, 11:38 AM
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
0
Viktor Tsvetkov
Telerik team
answered on 02 Apr 2012, 09:26 AM
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 >>
0
Ronald
Top achievements
Rank 2
answered on 02 Apr 2012, 10:03 AM
Hi Viktor, thanks for the reply and I will test test the sample project as soon as the binaries will come available.

Thanks,
Ronald
0
Ronald
Top achievements
Rank 2
answered on 03 Apr 2012, 09:03 AM
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
0
Accepted
Viktor Tsvetkov
Telerik team
answered on 05 Apr 2012, 09:58 AM
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 >>

0
Ronald
Top achievements
Rank 2
answered on 06 Apr 2012, 12:41 PM
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


Tags
OutlookBar
Asked by
Ronald
Top achievements
Rank 2
Answers by
Viktor Tsvetkov
Telerik team
Ronald
Top achievements
Rank 2
Share this question
or