WPF change Button Content on ViewModel.PropertyChanged event?

If you set the property "Content" of the Button, you cannot change it with a trigger, because the first one takes precedence Try to remove the setting of Content and it should work, because triggers will do the right work themselves.

If you set the property "Content" of the Button, you cannot change it with a trigger, because the first one takes precedence. Try to remove the setting of Content and it should work, because triggers will do the right work themselves.

Setting Content is what I'm trying to accomplish. If you cannot change it with a trigger, then I don't see how this is possible at all. – Travis Heseman Jul 18 '10 at 14:48 Your trigger sets the content in any case, depending from the value of IsReadOnly property.

You don't need to set content in your button. Give to it the style LockButtonStyle and see what happens. – Maurizio Reginelli Jul 19 '10 at 19:07.

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