O'Reilly logo

XAML Developer Reference by Ashish Ghoda, Mamta Dalal

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

Graphics

Consider that you are developing an application that depicts various element of physics or biology. You need to be able to display graphical objects and manipulate them—perhaps showing them in animated form. Obviously, the standard XAML UIElements, such as TextBlock and Button, fall short for such an application. This is where XAML’s graphical capabilities come into focus. XAML lets you draw and paint various forms of graphics, including shapes and geometries.

You use Shape and Geometry to render two-dimensional (2-D) objects. Although the two have much in common, there are important differences between the two sets of drawing objects. The chapter covers these differences in a later section.

Shapes are UI elements, so you can place them ...

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