how to add WPF-styles inside view

Topics: CAB & Smart Client Software Factory
Jul 6, 2007 at 4:40 AM
Hi

I am working with SCSF-WPF applicayion where I have a tabworkspace. I am updating various data in different tabs of tabworkspace. I would like to showcase various WPF features in each tab. Please let me know how can I accomplish that.

I read that Application will look for App.XAML file in case of any style to be referred. My application does not have APP.XAML file by default. Hence I tried to add one explicilty but couldnot succeed in showcasing WPF.

I can add some style in Shell under <Window.Resources> tag but that donot see to be more customizable for views especially with TabWorkspace..

Jul 6, 2007 at 3:19 PM
Hi!

The tabworkspace provided by SCSF has a Winforms look and feel. You could use WPFCAB’s version instead (http://www.codeplex.com/scsfcontrib/Wiki/View.aspx?title=WPFCAB%20Layer&referringTitle=Documentation).
You can take a look at SCSF Contrib’s WPF BankTeller version (http://www.codeplex.com/scsfcontrib/Wiki/View.aspx?title=BankTeller%20Documentation&referringTitle=Documentation) to see an example of a SCSF 2007 + WPF application. (Inside BankTellerModules.Views there is a file named “BankTellerStyles.xaml” which declares the styles used by the views).

Hope it helps!

Luciano G. Panaro
http://staff.southworks.net/lpanaro