Intersoft.Client.UI.Aqua Namespace > UXScroller Class : ScrollMode Property |
<CategoryAttribute("Common Properties")> Public Property ScrollMode As ScrollMode
Dim instance As UXScroller Dim value As ScrollMode instance.ScrollMode = value value = instance.ScrollMode
[CategoryAttribute("Common Properties")] public ScrollMode ScrollMode {get; set;}
[CategoryAttribute("Common Properties")] public: property ScrollMode ScrollMode { ScrollMode get(); void set ( ScrollMode value); }
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.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2