an
saurus
tags:
mergeddictionaries
resourcedictionary
resources
style
wpf
views:
1635
answers:
1
+3
Q:
WPF: Style based on another one in a separate assembly
+1
A:
Try adding TargetType="{x:Type Button}" to your 'StyleB'.
Richard Davis
2009-04-01 00:08:08
Thanks Richard. It works! But why doesn't it work without specifying the type?
Gustavo Cavalcanti
2009-04-01 21:53:07
Sorry, I'm not sure why it is needed here.
Richard Davis
2009-04-03 18:51:26
related questions
Can someone point me to some guides for WPF
WPF Listbox style with a button
So what am I missing with this here WPF?
When is NavigationService initialized?
WPF Anti aliasing workaround
WPF Image UriSource and Data Binding
How to stop an animation in C# / WPF?
Rich GUI OS X Frameworks?
What is the correct way to create a single instance application?
Enabling a button in WPF depending on ListBox.SelectedIndex
How to apply multiple styles in WPF
How to get list of installed BitmapEncoders/Decoders (the WPF world)?
Preventing Memory Leaks with Attached Behaviours
Variable Bindings in WPF
How to host a WPF form in a MFC application
WPF - Sorting a composite collection
WPF: How to style or disable the default ContextMenu of a TextBox
What WPF books would you recommend?
I don't grok the WPF command pattern
Instrumenting a UI
What real world WPF applications are out there?
What is the value-binding syntax in xaml?
WPF Databinding
Numeric Data Entry in WPF
Hiding inherited members in C#