←Select platform

RestrictScroll Property

Summary

Indicates whether scrolling or panning the view outside the maximum range is allowed.

Syntax
C#
VB
C++
public virtual bool RestrictScroll { get; set; } 
Public Overridable Property RestrictScroll() As Boolean 
   Get 
   Set 
public:  
   virtual property bool RestrictScroll 
   { 
      bool get() 
      void set(bool value) 
   } 

Property Value

true if scrolling and panning the image outside the maximum range is not allowed; otherwise, false. Default value is true.

Remarks

Refer to ScrollMode for more information and an example on how to use this property.

For more information, refer to Image Viewer Scrolling.

Requirements
Target Platforms
Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.