ScrollViewHelper Class

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

ScrollView helper attached property class. This class provides an attached property that allows for ItemsControls to scroll correctly via PageUp/PageDown requests when they are hosted in a TeamExplorer page.

Prior/Next keyboard events are intercepted and re-routed to the parent ScrollViewer. After the scroll position has changed the ItemsControl's focus element is updated to the first visible element.

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Controls.WPF.ScrollViewHelper

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

Syntax

'Declaration
<ExtensionAttribute> _
Public NotInheritable Class ScrollViewHelper
public static class ScrollViewHelper
[ExtensionAttribute]
public ref class ScrollViewHelper abstract sealed
[<AbstractClass>]
[<Sealed>]
type ScrollViewHelper =  class end
public final class ScrollViewHelper

The ScrollViewHelper type exposes the following members.

Attached Properties

  Name Description
Public attached property BindWidthToViewport
Public attached property ReroutePriorAndNext
Public attached property UseSystemMouseWheelLineSettings

Top

Methods

  Name Description
Public methodStatic member GetBindWidthToViewport BindWidthToViewport getter.
Public methodStatic member GetReroutePriorAndNext ReroutePriorAndNext getter.
Public methodStatic member GetUseSystemMouseWheelLineSettings Get the UseSystemMouseWheelLineSettings value.
Public methodStatic member SetBindWidthToViewport BindWidthToViewport setter.
Public methodStatic member SetReroutePriorAndNext ReroutePriorAndNext setter.
Public methodStatic member SetUseSystemMouseWheelLineSettings 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.

Top

Fields

  Name Description
Public fieldStatic member BindWidthToViewportProperty BindWidthToViewport attached property.
Public fieldStatic member ReroutePriorAndNextProperty ReroutePriorAndNext attached property.
Public fieldStatic member UseSystemMouseWheelLineSettingsProperty UseSystemMouseWheelLineSettings attached property.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.TeamFoundation.Controls.WPF Namespace