Enables or disables scroll bars automatically appearing when the control contents are larger than its visible area
Syntax
Visual Basic (Declaration) | |
---|
<CategoryAttribute("Layout")>
<DescriptionAttribute("Indicates whether scroll bars automatically appear when the control contents are larger than its visible area.")>
Public Overridable Property AutoScroll As Boolean |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As RasterImageViewer
Dim value As Boolean
instance.AutoScroll = value
value = instance.AutoScroll |
C# | |
---|
[CategoryAttribute("Layout")]
[DescriptionAttribute("Indicates whether scroll bars automatically appear when the control contents are larger than its visible area.")]
public virtual bool AutoScroll {get; set;} |
Property Value
true to enable scroll bars, false otherwise.
Example
Requirements
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7
See Also