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

Shared Styles between WPF and Silverlight Controls

1 Answer 116 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
J
Top achievements
Rank 1
J asked on 18 Oct 2012, 05:04 PM
Hello,

I am in the middle of a project where I am trying to create a set of styles that can be used for both Silverlight 5 and WPF 4.5 controls. I started with the RibbonView and only ran into a few issues so far. One of them was WPF not liking the telerik:primitives Popup, and the other had to do with WPF not liking telerik:ScrollViewerExtensions.EnableMouseWheel property. I changed the popup markup to <Popup> and it seems to run fine in both WPF and SIlverlight, and I also removed the enable mouse wheel property and I seem to still have mouse wheel scrolling support in silverlight.

I am assuming those two items were necessary early on on Silverlight's life, but not needed anymore in Silverlight 5. Is this assumption correct? Is there any documentation on depreciated controls / properties in Teleriks Silverlight control suite? Has anyone else created a Telerik Theme that can be applied to both SL5 and WPF 4.5 projects and have the Telerik controls look and function the same across the two?

Thanks in advance,
JJ

1 Answer, 1 is accepted

Sort by
0
Vanya Pavlova
Telerik team
answered on 23 Oct 2012, 01:28 PM
Hello Jim,

 

Straight to your questions:


1. The mentioned Popup is obsoleted and you are doing the right thing to replace it with the native Microsoft Popup control. As you marked it will run under both platforms - WPF / Silverlight.

2. In our online documentation you may find a detailed description about Changes and Backward compatibility per control, please follow this link. 

3.As per your questions about themes - we are constantly working on the improvement of our controls and
our components share common code-base in order to work simultaneously under both WPF/SL. However their styles still use platform specific properties, which are needed to achieve the desired look and feel.  



Greetings,
Vanya Pavlova
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
General Discussions
Asked by
J
Top achievements
Rank 1
Answers by
Vanya Pavlova
Telerik team
Share this question
or