ScrollViewerExtensions Class

Definition

Provides attached dependency properties and methods for the Windows.UI.Xaml.Controls.ScrollViewer control.

public static class ScrollViewerExtensions
type ScrollViewerExtensions = class
Public Class ScrollViewerExtensions
Inheritance
ScrollViewerExtensions

Fields

EnableMiddleClickScrollingProperty

Attached Windows.UI.Xaml.DependencyProperty for enabling middle click scrolling

HorizontalScrollBarMarginProperty

Attached Windows.UI.Xaml.DependencyProperty for binding a Thickness for the horizontal Windows.UI.Xaml.Controls.Primitives.ScrollBar of a Windows.UI.Xaml.Controls.ScrollViewer

VerticalScrollBarMarginProperty

Attached Windows.UI.Xaml.DependencyProperty for binding a Thickness for the vertical Windows.UI.Xaml.Controls.Primitives.ScrollBar of a Windows.UI.Xaml.Controls.ScrollViewer

Attached Properties

EnableMiddleClickScrolling
HorizontalScrollBarMargin
VerticalScrollBarMargin

Methods

GetEnableMiddleClickScrolling(DependencyObject)

Get EnableMiddleClickScrollingProperty. Returns true if middle click scrolling is enabled else return false

GetHorizontalScrollBarMargin(FrameworkElement)

Gets the Thickness associated with the specified horizontal Windows.UI.Xaml.Controls.Primitives.ScrollBar of a Windows.UI.Xaml.Controls.ScrollViewer

GetVerticalScrollBarMargin(FrameworkElement)

Gets the Thickness associated with the specified vertical Windows.UI.Xaml.Controls.Primitives.ScrollBar of a Windows.UI.Xaml.Controls.ScrollViewer

SetEnableMiddleClickScrolling(DependencyObject, Boolean)

Set EnableMiddleClickScrollingProperty. true to enable middle click scrolling

SetHorizontalScrollBarMargin(FrameworkElement, Thickness)

Sets the Thickness associated with the specified horizontal Windows.UI.Xaml.Controls.Primitives.ScrollBar of a Windows.UI.Xaml.Controls.ScrollViewer

SetVerticalScrollBarMargin(FrameworkElement, Thickness)

Sets the Thickness associated with the specified vertical Windows.UI.Xaml.Controls.Primitives.ScrollBar of a Windows.UI.Xaml.Controls.ScrollViewer

Applies to