Nevron.Diagram.WinForm Namespace / NMouseWheelScrollAndZoomTool Class / ScrollByDefault Property


ScrollByDefault Property
Syntax
'Declaration
 
<System.ComponentModel.CategoryAttribute("Behavior")>
<System.ComponentModel.DescriptionAttribute("When set to true the tool will scroll the view by default, otherwise it will zoom it. Use the ToggleScrollZoomModifierKey to switch to the other action). By default true.")>
<System.ComponentModel.DefaultValueAttribute(True)>
Public Property ScrollByDefault As System.Boolean
 
'Usage
 
Dim instance As NMouseWheelScrollAndZoomTool
Dim value As System.Boolean
 
instance.ScrollByDefault = value
 
value = instance.ScrollByDefault
Requirements

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

See Also