![]() ![]() | ||
The ScrollableControl class is a base class for controls that support auto-scrolling behavior. This class is the base class for the ContainerControl class, which is the base class for the System.Windows.Forms.UserControl class. Here is the inheritance hierarchy for this class:
Object MarshalByRefObject Component Control ScrollableControl
You can find the more notable public properties of the ScrollableControl class in Table 24.1 and the more notable methods in Table 24.2. (This class has no noninherited events.) Note that as with other Windows controls, I am not listing the notable properties, methods, and events ScrollableControl inherits from the Control class, such as the Click event—you can see all that in Chapter 5, Tables 5.1, 5.2, and 5.3.
Property |
Means |
---|---|
AutoScroll |
Gets/sets whether the user can scroll to controls outside of the control's boundaries. |
AutoScrollMargin |
Gets/sets the auto-scroll margin's size. |
AutoScrollMinSize |
Gets/sets the auto-scroll's minimum size. |
AutoScrollPosition |
Gets/sets the auto-scroll's position. |
DockPadding |
Gets the dock padding values. |
Method |
Means |
---|---|
SetAutoScrollMargin |
Sets the margin size of the auto-scroll. |
![]() ![]() | ||