Table of Contents

Class PassiveScrollViewer

Namespace
Wpf.Ui.Controls
Assembly
Wpf.Ui.dll

A custom ScrollViewer that allows certain mouse events to bubble through when it's inactive.

public class PassiveScrollViewer : ScrollViewer, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild
Inheritance
PassiveScrollViewer
Implements
Derived
Inherited Members

Fields

IsScrollSpillEnabledProperty

Identifies the IsScrollSpillEnabled dependency property.

public static readonly DependencyProperty IsScrollSpillEnabledProperty

Field Value

DependencyProperty

Properties

IsScrollSpillEnabled

Gets or sets a value indicating whether blocked inner scrolling should be propagated forward.

public bool IsScrollSpillEnabled { get; set; }

Property Value

bool

Methods

OnMouseWheel(MouseWheelEventArgs)

Responds to a click of the mouse wheel.

protected override void OnMouseWheel(MouseWheelEventArgs e)

Parameters

e MouseWheelEventArgs

Required arguments that describe this event.