Hi Vanya,
Surely this will work. I'm already applying this technique.But in fact this means that we are unable to let the user switch themes as we "hard code" every TextBlock control to use one theme.
I also tried this (in app.xaml) but it's not working (surprisingly, it does work for less frequently used controls like a CheckBox):
...
<telerik:Expression_DarkTheme IsApplicationTheme="True" x:Key="Theme" />
<Style TargetType="TextBlock" telerik.StyleManager.BasedOn="{StaticResource Theme}">
...
Why is this not working for a very common control like the textbox or is there a more general approach so i am able to provide the possibility to switch themes on the fly, and most importantly, not having to set the CaretBrush on every textbox control?
Best Regards,
Peter