Share via


ScrollViewHelper.SetUseSystemMouseWheelLineSettings Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Set the UseSystemMouseWheelLineSettings value. ScrollViewer does not understand the concept of lines because it contains arbitrary UI. Therefore, ScrollViewer does not obey the system mouse wheel scroll lines setting, which defaults to 3.

Instead, the ScrollViewer treats a mouse wheel scroll increment as the equivalent of three taps of the inner scrollbar's arrow.

Set this property to true to have the attached ScrollViewer obey the system mouse wheel scroll lines setting. It will scroll the equivalent of clicking the scrollbar arrow N times, where N is the system mouse wheel scroll lines setting.

Namespace:  Microsoft.TeamFoundation.Controls.WPF
Assembly:  Microsoft.TeamFoundation.Controls (in Microsoft.TeamFoundation.Controls.dll)

Syntax

'Declaration
Public Shared Sub SetUseSystemMouseWheelLineSettings ( _
    obj As ScrollViewer, _
    value As Boolean _
)
public static void SetUseSystemMouseWheelLineSettings(
    ScrollViewer obj,
    bool value
)
public:
static void SetUseSystemMouseWheelLineSettings(
    ScrollViewer^ obj, 
    bool value
)
static member SetUseSystemMouseWheelLineSettings : 
        obj:ScrollViewer * 
        value:bool -> unit
public static function SetUseSystemMouseWheelLineSettings(
    obj : ScrollViewer, 
    value : boolean
)

Parameters

.NET Framework Security

See Also

Reference

ScrollViewHelper Class

Microsoft.TeamFoundation.Controls.WPF Namespace