Свойство | Type | Description | |
---|---|---|---|
ComputedHorizontalScrollBarVisibilityProperty | DependencyProperty | ||
ComputedVerticalScrollBarVisibilityProperty | DependencyProperty | ||
ExtentHeightProperty | DependencyProperty | ||
ExtentWidthProperty | DependencyProperty | ||
HorizontalOffsetProperty | DependencyProperty | ||
HorizontalScrollBarVisibilityProperty | DependencyProperty | ||
ScrollableHeightProperty | DependencyProperty | ||
ScrollableWidthProperty | DependencyProperty | ||
VerticalOffsetProperty | DependencyProperty | ||
VerticalScrollBarVisibilityProperty | DependencyProperty | ||
ViewportHeightProperty | DependencyProperty | ||
ViewportWidthProperty | DependencyProperty |
Свойство | Type | Description | |
---|---|---|---|
HandleScroll | void | ||
MeasureOverride | Size | ||
OnScrollBarVisibilityChanged | void | ||
OnScrollInfoDependencyPropertyChanged | void | ||
RaiseOffsetChanged | void | ||
RaiseUIAScrollBarSet | void | ||
RaiseViewportChangedEvent | void | ||
RaiseVisibilityChangedEvent | void | ||
ScrollInDirection | void |
Méthode | Description | |
---|---|---|
GetHorizontalScrollBarVisibility ( DependencyObject element ) : ScrollBarVisibility |
Gets the value of the HorizontalScrollBarVisibility dependency property from a given element.
|
|
GetVerticalScrollBarVisibility ( DependencyObject element ) : ScrollBarVisibility |
Gets the value of the VerticalScrollBarVisibility dependency property from a given element.
|
|
InvalidateScrollInfo ( ) : void | ||
OnApplyTemplate ( ) : void | ||
ScrollToHorizontalOffset ( double offset ) : void |
Scrolls the content within the ScrollViewer to the specified horizontal offset position.
|
|
ScrollToVerticalOffset ( double offset ) : void |
Scrolls the content within the ScrollViewer to the specified vertical offset position.
|
|
ScrollViewer ( ) : System |
Initializes a new instance of the ScrollViewer class.
|
|
SetHorizontalScrollBarVisibility ( DependencyObject element, ScrollBarVisibility horizontalScrollBarVisibility ) : void |
Sets the value of the HorizontalScrollBarVisibility dependency property to a given element.
|
|
SetScrollOffset ( Orientation orientation, double value ) : void | ||
SetVerticalScrollBarVisibility ( DependencyObject element, ScrollBarVisibility verticalScrollBarVisibility ) : void |
Sets the value of the VerticalScrollBarVisibility dependency property to a given element.
|
|
UpdateScrollBar ( Orientation orientation, double value ) : void | ||
UpdateScrollbarVisibility ( ) : void |
Méthode | Description | |
---|---|---|
OnCreateAutomationPeer ( ) : AutomationPeer | ||
OnKeyDown ( KeyEventArgs e ) : void |
Responds to the KeyDown event.
|
|
OnMouseLeftButtonDown ( MouseButtonEventArgs e ) : void |
Called when the user presses the left mouse button over the ListBoxItem.
|
|
OnMouseWheel ( MouseWheelEventArgs e ) : void |
Méthode | Description | |
---|---|---|
HandleScroll ( Orientation orientation, ScrollEventArgs e ) : void |
Handles the ScrollBar.Scroll event and updates the UI.
|
|
MeasureOverride ( Size availableSize ) : Size | ||
OnScrollBarVisibilityChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void |
Called when the HorizontalScrollBarVisibility/VerticalScrollBarVisibility property has changed.
|
|
OnScrollInfoDependencyPropertyChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void | ||
RaiseOffsetChanged ( double offset, AutomationOrientation orientation ) : void | ||
RaiseUIAScrollBarSet ( AutomationOrientation orientation, ScrollBar oldValue, ScrollBar newValue ) : void | ||
RaiseViewportChangedEvent ( double viewportWidth, double viewportHeight ) : void | ||
RaiseVisibilityChangedEvent ( Visibility visibility, AutomationOrientation orientation ) : void | ||
ScrollInDirection ( Key key ) : void |
Scrolls the view in the specified direction. Similar to WPF's corresponding ScrollViewer method. |
public static GetHorizontalScrollBarVisibility ( DependencyObject element ) : ScrollBarVisibility | ||
element | DependencyObject | The element from which the property value is read. |
Résultat | ScrollBarVisibility |
public static GetVerticalScrollBarVisibility ( DependencyObject element ) : ScrollBarVisibility | ||
element | DependencyObject | The element from which the property value is read. |
Résultat | ScrollBarVisibility |
protected OnCreateAutomationPeer ( ) : AutomationPeer | ||
Résultat | AutomationPeer |
protected OnKeyDown ( KeyEventArgs e ) : void | ||
e | KeyEventArgs | Provides data for KeyEventArgs. |
Résultat | void |
protected OnMouseLeftButtonDown ( MouseButtonEventArgs e ) : void | ||
e | MouseButtonEventArgs | The event data. |
Résultat | void |
protected OnMouseWheel ( MouseWheelEventArgs e ) : void | ||
e | MouseWheelEventArgs | |
Résultat | void |
public ScrollToHorizontalOffset ( double offset ) : void | ||
offset | double | The position that the content scrolls to. |
Résultat | void |
public ScrollToVerticalOffset ( double offset ) : void | ||
offset | double | The position that the content scrolls to. |
Résultat | void |
public static SetHorizontalScrollBarVisibility ( DependencyObject element, ScrollBarVisibility horizontalScrollBarVisibility ) : void | ||
element | DependencyObject | The element on which to set the property value. |
horizontalScrollBarVisibility | ScrollBarVisibility | The property value to set. |
Résultat | void |
public SetScrollOffset ( Orientation orientation, double value ) : void | ||
orientation | Orientation | |
value | double | |
Résultat | void |
public static SetVerticalScrollBarVisibility ( DependencyObject element, ScrollBarVisibility verticalScrollBarVisibility ) : void | ||
element | DependencyObject | The element on which to set the property value. |
verticalScrollBarVisibility | ScrollBarVisibility | The property value to set. |
Résultat | void |
public UpdateScrollBar ( Orientation orientation, double value ) : void | ||
orientation | Orientation | |
value | double | |
Résultat | void |
public UpdateScrollbarVisibility ( ) : void | ||
Résultat | void |
public static DependencyProperty ComputedHorizontalScrollBarVisibilityProperty | ||
Résultat | DependencyProperty |
public static DependencyProperty ComputedVerticalScrollBarVisibilityProperty | ||
Résultat | DependencyProperty |
public static DependencyProperty ExtentHeightProperty | ||
Résultat | DependencyProperty |
public static DependencyProperty ExtentWidthProperty | ||
Résultat | DependencyProperty |
public static DependencyProperty HorizontalOffsetProperty | ||
Résultat | DependencyProperty |
public static DependencyProperty HorizontalScrollBarVisibilityProperty | ||
Résultat | DependencyProperty |
public static DependencyProperty ScrollableHeightProperty | ||
Résultat | DependencyProperty |
public static DependencyProperty ScrollableWidthProperty | ||
Résultat | DependencyProperty |
public static DependencyProperty VerticalOffsetProperty | ||
Résultat | DependencyProperty |
public static DependencyProperty VerticalScrollBarVisibilityProperty | ||
Résultat | DependencyProperty |
public static DependencyProperty ViewportHeightProperty | ||
Résultat | DependencyProperty |