![]() ![]() | ||
As discussed in the In Depth section of this chapter, you can use panels to group controls together in a Windows form. Here is the class hierarchy of the Panel class:
You can find the more notable public properties of the Panel class in Table 6.8. Note that as with other controls, I am not listing the notable properties, methods, and events Panel inherits from the Control class, such as the Click event—you can see all that in Tables 5.1, 5.2, and 5.3 in Chapter 5.
Property |
Means |
---|---|
AutoScroll |
Specifies if the panel will display scroll bars if needed. |
AutoScrollMargin |
Gets/sets the size of the auto-scroll margin. |
AutoScrollMinSize |
Gets/sets the minimum size of the auto-scroll. |
AutoScrollPosition |
Gets/sets the location of the auto-scroll position. |
DockPadding |
Gets the dock padding settings for all edges of the panel. |
![]() ![]() | ||