←Select platform

IsEnabled Property

Summary

Indicates if inertia scrolling should be used.

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

Property Value

true if inertia scrolling should be used, otherwise; false. Default value is false.

Remarks

Set the value of IsEnabled to true to enable inertia scrolling. CalculateInertia will be used to calculate the offset of the scroll as time passes. If CalculateInertia is null, DefaultCalculateInertia is used.

Example

For an example, refer to ImageViewerPanZoomInteractiveMode.

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.