Intersoft ClientUI Documentation
ScrollChange Property
See Also  Send Feedback
Intersoft.Client.UI.Aqua Namespace > UXScroller Class : ScrollChange Property






Gets or sets the scroll change.

Syntax

Visual Basic (Declaration) 
<CategoryAttribute("Common Properties")>
Public Property ScrollChange As Double
Visual Basic (Usage)Copy Code
Dim instance As UXScroller
Dim value As Double
 
instance.ScrollChange = value
 
value = instance.ScrollChange
C# 
[CategoryAttribute("Common Properties")]
public double ScrollChange {get; set;}
Delphi 
public read-write property ScrollChange: Double; 
JScript 
CategoryAttribute("Common Properties")
public function get,set ScrollChange : double
Managed Extensions for C++ 
[CategoryAttribute("Common Properties")]
public: __property double get_ScrollChange();
public: __property void set_ScrollChange( 
   double value
);
C++/CLI 
[CategoryAttribute("Common Properties")]
public:
property double ScrollChange {
   double get();
   void set (    double value);
}

Example

There are two types of ScrollMode available in UXScroller, MouseDown or MouseOver.

If the ScrollMode is set to MouseDown, the control will perform scrolling when the scroll button is pressed. The amount of scrolling depends on the value of the ScrollChange property. If it set to Double.NaN, it will scroll the entire visible content.

If the ScrollMode is set to MouseOver, the control will perform scrolling when the scroll button is hovered. The amount of scrolling depends on the value of the ScrollChange property. However if the value is set to Double.NaN, the scroll amount is set to 5 pixel by default.

Note that when you use MouseOver mode, the scrolling will be performed continuously until the cursor is out from the scroll button.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2012 All Rights Reserved.