In WPF, should my custom button with behaviour be an extended Button, a CustomControl, or just a ControlTemplate?

You have probably used attached properties without knowing it, things like Grid. Row, and DockPanel.Dock.

After reading the relevant chapters in Sells & Griffiths' Programming WPF book (an excellent book), I think I can now answer my own question. According to these guys, a UserControl is "intended to offer a similar functionality to user controls in other UI frameworks". By this, they mean a user control as a kind of invisible panel that contains a collection of controls, such as a particular form.

One further note is that they "do not usually support customization through templates".

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