C# Класс ModernWPF.Controls.AnimatedScrollViewer

Наследование: System.Windows.Controls.ScrollViewer
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
AnimateDurationProperty System.Windows.DependencyProperty
AnimateScrollProperty System.Windows.DependencyProperty
AnimateSplineProperty System.Windows.DependencyProperty
CanKeyboardScrollProperty System.Windows.DependencyProperty
HorizontalScrollOffsetProperty System.Windows.DependencyProperty
TargetHorizontalOffsetProperty System.Windows.DependencyProperty
TargetVerticalOffsetProperty System.Windows.DependencyProperty
VerticalScrollOffsetProperty System.Windows.DependencyProperty

Открытые методы

Метод Описание
OnApplyTemplate ( ) : void

Called when an internal process or application calls M:System.Windows.FrameworkElement.ApplyTemplate, which is used to build the current template's visual tree.

Защищенные методы

Метод Описание
OnKeyDown ( System.Windows.Input.KeyEventArgs e ) : void

Responds to specific keyboard input and invokes associated scrolling behavior.

OnPreviewMouseWheel ( System.Windows.Input.MouseWheelEventArgs e ) : void

Invoked when an unhandled E:System.Windows.Input.Mouse.PreviewMouseWheel attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

Приватные методы

Метод Описание
AniHScrollBar_ValueChanged ( object sender, RoutedPropertyChangedEventArgs e ) : void
AniVScrollBar_ValueChanged ( object sender, RoutedPropertyChangedEventArgs e ) : void
AnimateNow ( ) : void
AnimatedScrollViewer ( ) : System
HandleHWheel ( object sender, System.Windows.Input.MouseWheelEventArgs e ) : void
NormalizeScrollPos ( double scrollChange, Orientation o ) : double
OnHorizontalScrollOffsetChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnTargetHorizontalOffsetChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnTargetVerticalOffsetChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnVerticalScrollOffsetChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
_realHorizontalScrollBar_ValueChanged ( object sender, RoutedPropertyChangedEventArgs e ) : void
_realVerticalScrollBar_ValueChanged ( object sender, RoutedPropertyChangedEventArgs e ) : void

Описание методов

OnApplyTemplate() публичный Метод

Called when an internal process or application calls M:System.Windows.FrameworkElement.ApplyTemplate, which is used to build the current template's visual tree.
public OnApplyTemplate ( ) : void
Результат void

OnKeyDown() защищенный Метод

Responds to specific keyboard input and invokes associated scrolling behavior.
protected OnKeyDown ( System.Windows.Input.KeyEventArgs e ) : void
e System.Windows.Input.KeyEventArgs Required arguments for this event.
Результат void

OnPreviewMouseWheel() защищенный Метод

Invoked when an unhandled E:System.Windows.Input.Mouse.PreviewMouseWheel attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
protected OnPreviewMouseWheel ( System.Windows.Input.MouseWheelEventArgs e ) : void
e System.Windows.Input.MouseWheelEventArgs The that contains the event data.
Результат void

Описание свойств

AnimateDurationProperty публичное статическое свойство

The dependency property for AnimateDuration.
public static DependencyProperty,System.Windows AnimateDurationProperty
Результат System.Windows.DependencyProperty

AnimateScrollProperty публичное статическое свойство

The dependency property for AnimateScroll.
public static DependencyProperty,System.Windows AnimateScrollProperty
Результат System.Windows.DependencyProperty

AnimateSplineProperty публичное статическое свойство

The dependency property for AnimateSpline.
public static DependencyProperty,System.Windows AnimateSplineProperty
Результат System.Windows.DependencyProperty

CanKeyboardScrollProperty публичное статическое свойство

The dependency property for CanKeyboardScroll.
public static DependencyProperty,System.Windows CanKeyboardScrollProperty
Результат System.Windows.DependencyProperty

HorizontalScrollOffsetProperty публичное статическое свойство

The dependency property for HorizontalScrollOffset.
public static DependencyProperty,System.Windows HorizontalScrollOffsetProperty
Результат System.Windows.DependencyProperty

TargetHorizontalOffsetProperty публичное статическое свойство

The dependency property for TargetHorizontalOffset.
public static DependencyProperty,System.Windows TargetHorizontalOffsetProperty
Результат System.Windows.DependencyProperty

TargetVerticalOffsetProperty публичное статическое свойство

The dependency property for TargetVerticalOffset.
public static DependencyProperty,System.Windows TargetVerticalOffsetProperty
Результат System.Windows.DependencyProperty

VerticalScrollOffsetProperty публичное статическое свойство

The dependency property for VerticalScrollOffset.
public static DependencyProperty,System.Windows VerticalScrollOffsetProperty
Результат System.Windows.DependencyProperty