Skip to main content
Home Forums Silverlight Programming Programming with .NET - General RCO TabControl style no longer works ...
1 replies. Latest Post by syl on October 13, 2008.
(0)
syl
Member
72 points
30 Posts
10-09-2008 5:01 PM |
Hi all,
I am trying to migrate my SL2 Beta2 app into RC0
I have made all Breaking Changes
My last issue is a style that hides my TabControl but there no reason ...
In Beta2 this style was working fine
I try to remove some parts, I can't understand why the style is incorrect.
Here is the xaml code :
<!--RCO Changement-->
<Setter Property="TextWrapping" Value="NoWrap"/>-->
Where is the problem in the style ?
Thx for your replies :-)
10-13-2008 8:02 AM |
Hi all
I've found the solution
If I use the style defined in App.xaml with a reference to System.Windows.Controls in the TargetType
ex : <Style x:Key="MyTabControlStyle" TargetType="controls:TabControl">
With a refrence to the dll like that :
If I set the control template directly in the TabControl like this :
<
It works fine :-)
This post is on the same suggest and is usefull
http://silverlight.net/forums/t/31597.aspx