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


In This Topic
    ScrollByDefault Property
    In This Topic
    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.
    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
    [System.ComponentModel.Category("Behavior")]
    [System.ComponentModel.Description("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.DefaultValue(true)]
    public System.bool ScrollByDefault {get; set;}
    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