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






Gets or sets the scroll mode.

Syntax

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

Remarks

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.