←Select platform

ScrollOffsetChanged Event

Summary

Occurs when the value of ScrollOffset changes.

Syntax
C#
C++/CLI
public event EventHandler ScrollOffsetChanged 
public:  
   event EventHandler^ ScrollOffsetChanged 
Remarks

This event is raised if the value of the ScrollOffset property is changed by either a programmatic modification or user interaction.

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; 
   } 
} 
Event Data
ParameterTypeDescription
senderobjectThe source of the event.
Requirements

Target Platforms

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.