Shape is a 2D vector-based drawing that can be placed anywhere that any other element can be placed. For example, Chapter 1, “What Is XAML?” shows how easy it is to embed a square in a
Button by using
Rectangle (which derives from
<Button> <Rectangle Height="10" Width="10" Fill="White"/></Button>
Six classes derive from
Shape itself can’t ...