LEADTOOLS Windows Forms (Leadtools.WinForms assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
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) 
<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;}
C++/CLI 
[CategoryAttribute("Layout")]
[DescriptionAttribute("Indicates whether scroll bars automatically appear when the control contents are larger than its visible area.")]
public:
virtual property bool AutoScroll {
   bool get();
   void set (    bool value);
}

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