Table of Contents

Class DynamicScrollBar

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

Custom ScrollBar with events depending on actions taken by the user.

public class DynamicScrollBar : ScrollBar, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient
Inheritance
DynamicScrollBar
Implements
Inherited Members

Fields

IsInteractedProperty

Identifies the IsInteracted dependency property.

public static readonly DependencyProperty IsInteractedProperty

Field Value

DependencyProperty

IsScrollingProperty

Identifies the IsScrolling dependency property.

public static readonly DependencyProperty IsScrollingProperty

Field Value

DependencyProperty

TimeoutProperty

Identifies the Timeout dependency property.

public static readonly DependencyProperty TimeoutProperty

Field Value

DependencyProperty

Properties

IsInteracted

Gets or sets a value indicating whether the user has taken an action related to scrolling.

public bool IsInteracted { get; set; }

Property Value

bool

IsScrolling

Gets or sets a value indicating whether the user was recently scrolling in the last few seconds.

public bool IsScrolling { get; set; }

Property Value

bool

Timeout

Gets or sets additional delay after which the DynamicScrollBar should be hidden.

public int Timeout { get; set; }

Property Value

int

Methods

OnMouseEnter(MouseEventArgs)

Method reporting the mouse entered this element.

protected override void OnMouseEnter(MouseEventArgs e)

Parameters

e MouseEventArgs

OnMouseLeave(MouseEventArgs)

Method reporting the mouse leaved this element.

protected override void OnMouseLeave(MouseEventArgs e)

Parameters

e MouseEventArgs