Within the Windows Phone Framework Class Library (FCL), there are some types, which, on first appearance, you could be forgiven for thinking that API similarities are the result of common ancestry. The
TextBox elements, for example, have numerous similarly named text and font related properties, yet both have their own distinct API and their closest ancestor is
FrameworkElement (see Figure 6.1).
PasswordBox are derived from the
System.Windows.Control class. The
Control class is the base class for UI elements that use a