Enables or disables whether scroll bars automatically appear when the control contents are larger than its visible area.
Syntax
Visual Basic (Declaration) | |
---|
Public Property AutoScroll As Boolean |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As MedicalViewer
Dim value As Boolean
instance.AutoScroll = value
value = instance.AutoScroll
|
C# | |
---|
public bool AutoScroll {get; set;} |
Managed Extensions for C++ | |
---|
public: __property bool get_AutoScroll();
public: __property void set_AutoScroll(
bool value
); |
Return Value
true to enable scroll bars, false otherwise.
Example
For an example, refer to
#ctor
Requirements
Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
See Also