WPF Styling border thickness on trigger?

In your control template you are setting the BorderThickness to be 2! It should be.

Up vote 0 down vote favorite share g+ share fb share tw.

I have the following style defined... I'd like to change the BorderThickness property when a button is disabled, but I can't figure out how to do it. Wpf xaml styles link|improve this question edited Aug 16 '11 at 16:03Dave Clemmer1,78331030 asked Sep 8 '10 at 5:04Slomojo6,51611227 100% accept rate.

In your control template you are setting the BorderThickness to be 2! It should be: UPDATED.

– Slomojo Sep 8 '10 at 5:49 1 the trigger can then be set as expected -> – rudigrobler Sep 8 '10 at 6:04 1 And the default should be set at the top (Where you currently have OverridesDefaultStyle) - Similar to how its done in the trigger! – rudigrobler Sep 8 '10 at 6:05 1 Updated the sample! – rudigrobler Sep 8 '10 at 6:09 Thanks, I knew what to do after you mentioned the TemplateBinding, I just wanted a full answer for future searches.

– Slomojo Sep 8 '10 at 6:10.

It has a very nice intuitive UI for dealing with behaviors and triggers and activities directly on the XAML. You should give it a try! Generating all that code will probably take you 5 minutes (including your border).

I have it, but the editor is so basic I generally use Visual Studio & Emacs, I prefer to learn the syntax as opposed to relying on code generation. - But yes, it's pretty good for doing the visual stuff. – Slomojo Sep 8 '10 at 5:50.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions