1.7. Using WPF Graphics
WPF (Windows Presentation Foundation) is a fairly recent addition to Visual Studio. It includes a whole new set of forms, controls, components, and other gimmickry for building form-based applications. The Visual Studio development environment includes a large set of tools for building and editing WPF forms and the controls they contain. Unfortunately, those tools are somewhat limited, and there are lots of things you cannot do easily with the WPF form designer. For example, the designer lets you set a Rectangle object's Fill property to a solid color, but it won't let you set it to a more complicated brush.
WPF is extremely complicated, thus there's hardly room here to even scratch the surface. Since the focus of this ...
Get C# Graphics Programming 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.