Understanding Content Controls
In Chapter 1, you took a look at the class hierarchy that's at the core of WPF. You also considered the difference between elements (which include everything you'll place in a WPF window) and controls (which are more specialized elements that derive from the System.Windows.Controls.Control class).
In the world of WPF, a control is generally described as an element that can receive focus and accept user input, such as a text box or a button. However, the distinction is sometimes a bit blurry. The ToolTip is considered to be a control because it appears and disappears depending on the user's mouse movements. The Label is considered to be a control because of its support for mnemonics (shortcut keys that transfer ...
Get Pro WPF in C# 2008: Windows Presentation Foundation with .NET 3.5, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.