←Select platform

ControlScrollMode Enumeration

Summary

Determines how the control displays and uses scrollbars.

Syntax
C#
C++/CLI
public enum ControlScrollMode 
public enum class ControlScrollMode sealed 
Members

0

Auto

(0) Auto scrollbars, if the control requires scroll bars they will be visible and active. Only available if the platform supports scrollbars, otherwise, using this value is the same as using ControlScrollMode.Hidden.

1

Hidden

(1) Do not show scrollbars, even if the control requires them/

2

Disabled

(2) Disable scrolling, the scrollbars will not be visible nor activated even if the control requires them.

Remarks

ControlScrollMode is used with the following members:

Example
C#
using Leadtools; 
using Leadtools.Controls; 
using Leadtools.Codecs; 
using Leadtools.Drawing; 
using Leadtools.ImageProcessing; 
using Leadtools.ImageProcessing.Color; 
 
 
public void ImageViewerScrollMode_Example() 
{ 
 
   if (_imageViewer.ScrollMode != ControlScrollMode.Hidden) 
   { 
      _imageViewer.ScrollMode = ControlScrollMode.Hidden; 
      _imageViewer.RestrictScroll = false; 
   } 
} 
Requirements

Target Platforms

See Also

Reference

Leadtools.Controls Namespace

Help Version 22.0.2023.1.24
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

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