Hello, I'm working on a WPF application that contains several controls, including a RadDiagram. On some RadDiagramShape I applied a style which refer a DataTemplate, defined as follows:
Every binding worked properly until I applied an ApplicationTheme after main form initialization using StyleManager:
after that FontWeight and FontStyle bindings won't work, even if I set those bindings in code.
how I can fix it?
<DataTemplate x:Key="AttributeContentTemplate"> <Grid> <Canvas ClipToBounds="False"> <TextBlock Text="{Binding Name}" FontWeight="{Binding IsBoldText,Converter={StaticResource FontWeightBooleanConverter}}" FontStyle="{Binding IsItalicText,Converter={StaticResource FontStyleBooleanConverter}}"> </TextBlock> </Canvas> </Grid> </DataTemplate>Every binding worked properly until I applied an ApplicationTheme after main form initialization using StyleManager:
StyleManager.ApplicationTheme = new Windows8Theme();after that FontWeight and FontStyle bindings won't work, even if I set those bindings in code.
how I can fix it?
