IndentedItemListView.RerouteMouseWheel Property

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

Get/Set to true to indicate that the content does not need scrolling and to reroute MouseWheel event to the parent element. Get/Set to false (default) tells the ListView to process MouseWheel like regular.

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

Syntax

'Declaration
Public Property RerouteMouseWheel As Boolean
public bool RerouteMouseWheel { get; set; }
public:
property bool RerouteMouseWheel {
    bool get ();
    void set (bool value);
}
member RerouteMouseWheel : bool with get, set
function get RerouteMouseWheel () : boolean 
function set RerouteMouseWheel (value : boolean)

Property Value

Type: System.Boolean
Returns Boolean.

Remarks

This is required to support hosting a ListView inside a ScrollViewer when the ListView, not needing the scrolling support, continues to consume the MouseWheel event and preventing the outer ScrollViewer to scroll.

Setting this property to true reroutes the ListView's MouseWheel event up the parent chain toward the ancestor ScrollViewer.

.NET Framework Security

See Also

Reference

IndentedItemListView Class

Microsoft.TeamFoundation.Controls.WPF.TeamExplorer Namespace