Chad

<toolbar:RadToolbarTray
HorizontalAlignment="Left"x:Name="screenToolbar"VerticalAlignment="Top"telerikControls:StyleManager.Theme="Windows7" />
Then I add buttons like this:

var button = newButton();

tbar.Items.Add(button); //tbar is a toolbar object
The buttons don't pick up the style of the tray... on the
silverlight side, I explicitly set the style of the button
before I add it to the toolbar (app resource), but I don't
see a way to pick up the toolbar button styles from the StyleManager...
Thanks --

Tina Stancheva

I sent an answer to the support ticket you sent, but I will post it here as well:

If a Telerik theme is applied to a RadToolBar, then all RadToolBar items (including newly added ones) should inherit this theme. However, if a theme is applied to the RadToolBarTray, it won't be applied to its content.

I prepared a sample project illustrating this behavior. Can you please have a look at it and let me know if it works for you. Also, if I am missing something, please modify the sample to reproduce your issue and I will gladly investigate it further.

Greetings,
Tina Stancheva
the Telerik team

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 Public Issue Tracking
system and vote to affect the priority of the items

Petar Mladenov

The RadToolBar has predefined styles for both RadButton and Button (System.Windows.Controls.Button). So you don't need explicit style if you use Button. Please let us know if this is what you are actually asking. Hoe it helped you.

Greetings,
Petar Mladenov
the Telerik team

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 Public Issue Tracking system and vote to affect the priority of the items

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks or appropriate markings.