Class DynamicScrollBar
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
IsScrollingProperty
Identifies the IsScrolling dependency property.
public static readonly DependencyProperty IsScrollingProperty
Field Value
TimeoutProperty
Identifies the Timeout dependency property.
public static readonly DependencyProperty TimeoutProperty
Field Value
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
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
Timeout
Gets or sets additional delay after which the DynamicScrollBar should be hidden.
public int Timeout { get; set; }
Property Value
Methods
OnMouseEnter(MouseEventArgs)
Method reporting the mouse entered this element.
protected override void OnMouseEnter(MouseEventArgs e)
Parameters
OnMouseLeave(MouseEventArgs)
Method reporting the mouse leaved this element.
protected override void OnMouseLeave(MouseEventArgs e)