ScrollableControl Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the ScrollableControl class.
public:
ScrollableControl();
public ScrollableControl ();
Public Sub New ()
Remarks
The default ScrollableControl constructor performs the following actions:
Marks the current instance as a container control by calling the SetStyle method to set the ContainerControl style to
true
.Enables background erasing by setting the AllPaintingInWmPaint to
false
.Disables auto-scrolling by calling the SetScrollState method to set the ScrollStateAutoScrolling bit to
false
.