O'Reilly logo

XAML Unleashed by Adam Nathan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Summary

Never before has a button been so flexible! In XAML-based UI frameworks, Button and most of the other content controls can contain absolutely anything—but they can directly contain only one item. This chapter highlighted what makes each type of Button unique, and examined one non-Button content control: ToolTip.

Viewbox, introduced in Chapter 6, and a handy element called Border (which supports customizable rounded corners with its CornerRadius property) can often be mistaken for content controls because they directly contain only one item. They are not, however. They derive directly from FrameworkElement, and therefore lack many features given to Control. Instead of a Content property, they have a Child property.

Now, with the tour ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required