Leadtools.WinForms Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
AutoScroll Property
See Also 
Leadtools.WinForms Namespace > RasterImageViewer Class : AutoScroll Property



Enables or disables scroll bars automatically appearing when the control contents are larger than its visible area

Syntax

Visual Basic (Declaration) 
<DescriptionAttribute("Indicates whether scroll bars automatically appear when the control contents are larger than its visible area.")>
<CategoryAttribute("Layout")>
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# 
[DescriptionAttribute("Indicates whether scroll bars automatically appear when the control contents are larger than its visible area.")]
[CategoryAttribute("Layout")]
public virtual bool AutoScroll {get; set;}
C++/CLI 
[DescriptionAttribute("Indicates whether scroll bars automatically appear when the control contents are larger than its visible area.")]
[CategoryAttribute("Layout")]
public:
virtual property bool AutoScroll {
   bool get();
   void set (bool value);
}

Return Value

true to enable scroll bars, false otherwise.

Example

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