ScrollBar
ScrollBar
ScrollBar
ScrollBar
Class
Definition
Represents a control that provides a scroll bar that has a sliding Thumb whose position corresponds to a value.
public : sealed class ScrollBar : RangeBase, IScrollBarpublic sealed class ScrollBar : RangeBase, IScrollBarPublic NotInheritable Class ScrollBar Inherits RangeBase Implements IScrollBar// This API is not available in Javascript.
<ScrollBar .../>
- Inheritance
- Attributes
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Inherited Members
Inherited properties
Inherited events
Inherited methods
Constructors
Properties
IndicatorMode IndicatorMode IndicatorMode IndicatorMode
Gets or sets a value that results in different input indicator modes for the ScrollBar.
public : ScrollingIndicatorMode IndicatorMode { get; set; }public ScrollingIndicatorMode IndicatorMode { get; set; }Public ReadWrite Property IndicatorMode As ScrollingIndicatorMode// This API is not available in Javascript.
<ScrollBar IndicatorMode="scrollingIndicatorModeMemberName"/>
A value of the enumeration. The default is None.
Remarks
The value of this property influences transition animations that are part of the default template for ScrollBar.
IndicatorModeProperty IndicatorModeProperty IndicatorModeProperty IndicatorModeProperty
Identifies the IndicatorMode dependency property.
public : static DependencyProperty IndicatorModeProperty { get; }public static DependencyProperty IndicatorModeProperty { get; }Public Static ReadOnly Property IndicatorModeProperty As DependencyProperty// This API is not available in Javascript.
The identifier for the IndicatorMode dependency property.
Orientation Orientation Orientation Orientation
Gets or sets a value that indicates whether the ScrollBar is displayed horizontally or vertically.
public : Orientation Orientation { get; set; }public Orientation Orientation { get; set; }Public ReadWrite Property Orientation As Orientation// This API is not available in Javascript.
<ScrollBar Orientation="Horizontal"/>
-or-
<ScrollBar Orientation="Vertical"/>
An Orientation enumeration value that defines whether the ScrollBar is displayed horizontally or vertically. The default is Horizontal. Specific control templates might change this value, which would cause the templated value to be the apparent runtime default.
OrientationProperty OrientationProperty OrientationProperty OrientationProperty
Identifies the Orientation dependency property.
public : static DependencyProperty OrientationProperty { get; }public static DependencyProperty OrientationProperty { get; }Public Static ReadOnly Property OrientationProperty As DependencyProperty// This API is not available in Javascript.
The identifier for the Orientation dependency property.
ViewportSize ViewportSize ViewportSize ViewportSize
Gets or sets the amount of the scrollable content that is currently visible.
public : double ViewportSize { get; set; }public double ViewportSize { get; set; }Public ReadWrite Property ViewportSize As double// This API is not available in Javascript.
<ScrollBar ViewportSize="double"/>
- Value
- double double double double
The amount of the scrollable content that is currently visible. The default is 0.
ViewportSizeProperty ViewportSizeProperty ViewportSizeProperty ViewportSizeProperty
Identifies the ViewportSize dependency property.
public : static DependencyProperty ViewportSizeProperty { get; }public static DependencyProperty ViewportSizeProperty { get; }Public Static ReadOnly Property ViewportSizeProperty As DependencyProperty// This API is not available in Javascript.
The identifier for the ViewportSize dependency property.