This question is locked. New answers and comments are not allowed.
Hi,
In the Office 2013 theme there are 4 definitions of TextBoxStyle, but these are exactly the same. I dont see the reason behind doing that?
I stumbled across this when I wanted to make some changes to TextBoxStyle (readonly not removing the border) and nothing happened.
I currently fixed it for my application with the code below, but I don't know if that is what you intended. Could you look into this?
<ResourceDictionary Source="System.Windows.xaml" />
Regards,
Bayram
In the Office 2013 theme there are 4 definitions of TextBoxStyle, but these are exactly the same. I dont see the reason behind doing that?
I stumbled across this when I wanted to make some changes to TextBoxStyle (readonly not removing the border) and nothing happened.
I currently fixed it for my application with the code below, but I don't know if that is what you intended. Could you look into this?
<!-- Add this to all files where TextBoxStyle is defined except for System.Windows.xaml -->
<
ResourceDictionary.MergedDictionaries
>
</
ResourceDictionary.MergedDictionaries
>
<!-- Remove these from all files except System.Windows.xaml -->
<
Style
x:Key
=
"TextBoxStyle"
TargetType
=
"TextBox"
>
<
Style
TargetType
=
"TextBox"
BasedOn
=
"{StaticResource TextBoxStyle}"
/>
Regards,
Bayram