Leadtools.WinForms Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.8.31
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;}
Managed Extensions for C++ 
[CategoryAttribute("Layout")]
[DescriptionAttribute("Indicates whether scroll bars automatically appear when the control contents are larger than its visible area.")]
public: __property virtual bool get_AutoScroll();
public: __property virtual void set_AutoScroll( 
   bool value
);
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);
}

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