21.6. Drawing with .NET GUI Classes

The drawing classes in .NET are spread throughout a number of namespaces, as listed in Table 21.8.

Table 21.7. DockStyle Enumeration
LocationDescription
TopThe top edge of the control is docked to the top of the container.
BottomThe bottom edge of the control is docked to the bottom of the container.
LeftThe left edge of the control is docked to the left of the container.
RightThe right edge of the control is docked to the right of the container.
FillAll control edges are docked to all container edges.
NoneNo control edges are docked.
Table 21.8. Namespaces That Contain Drawing Classes
NamespaceDescription
System.DrawingThis namespace provides access to GDI+ basic graphics functionality. The Graphics class provides ...

Get .NET for Java Developers: Migrating to C# 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.