Is there a way to override the default PresetsWindow style?
I did a ControlTemplate within the ParameterWindow.xaml and addressed it with : TargetType="{x:Type l:PresetsWindow}"
(since it is a childwindow) but that does not work.
			
			
									
						
										
						PresetsWindow : unable to override
- strobotone
 - Posts: 297
 - Joined: Wed Nov 23, 2011 2:59 pm
 - Location: berlin
 - Contact:
 
Re: PresetsWindow : unable to override
x:Key="{x:Type l:PresetsWindow}" TargetType="{x:Type l:PresetsWindow}"
Setting Key to the type overrides the default style.
			
			
									
						
										
						Setting Key to the type overrides the default style.
- strobotone
 - Posts: 297
 - Joined: Wed Nov 23, 2011 2:59 pm
 - Location: berlin
 - Contact:
 
Re: PresetsWindow : unable to override
Yes, it should. But for some reason it does not.
Also tested outside ParameterWindow.xaml.
Not even setting "OverridesDefaultStyle"="true" makes a difference.
			
			
									
						
										
						Also tested outside ParameterWindow.xaml.
Not even setting "OverridesDefaultStyle"="true" makes a difference.