Class ScrollBar
Implements a control for scrolling
Inherited Members
Namespace: EmptyKeys.UserInterface.Controls.Primitives
Assembly: EmptyKeys.UserInterface.dll
Syntax
public class ScrollBar : RangeBase
Constructors
ScrollBar()
Initializes a new instance of the ScrollBar class.
Declaration
public ScrollBar()
Fields
DeferScrollToHorizontalOffsetCommand
The deferred scroll to horizontal offset command
Declaration
public static readonly RoutedCommand DeferScrollToHorizontalOffsetCommand
Field Value
Type | Description |
---|---|
RoutedCommand |
DeferScrollToVerticalOffsetCommand
The deferred scroll to vertical offset command
Declaration
public static readonly RoutedCommand DeferScrollToVerticalOffsetCommand
Field Value
Type | Description |
---|---|
RoutedCommand |
LineDownCommand
The line down command
Declaration
public static readonly RoutedCommand LineDownCommand
Field Value
Type | Description |
---|---|
RoutedCommand |
LineLeftCommand
The line left command
Declaration
public static readonly RoutedCommand LineLeftCommand
Field Value
Type | Description |
---|---|
RoutedCommand |
LineRightCommand
The line right command
Declaration
public static readonly RoutedCommand LineRightCommand
Field Value
Type | Description |
---|---|
RoutedCommand |
LineUpCommand
The line up command
Declaration
public static readonly RoutedCommand LineUpCommand
Field Value
Type | Description |
---|---|
RoutedCommand |
OrientationProperty
The orientation property
Declaration
public static readonly DependencyProperty OrientationProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
PageDownCommand
The page down command
Declaration
public static readonly RoutedCommand PageDownCommand
Field Value
Type | Description |
---|---|
RoutedCommand |
PageLeftCommand
The page left command
Declaration
public static readonly RoutedCommand PageLeftCommand
Field Value
Type | Description |
---|---|
RoutedCommand |
PageRightCommand
The page right command
Declaration
public static readonly RoutedCommand PageRightCommand
Field Value
Type | Description |
---|---|
RoutedCommand |
PageUpCommand
The page up command
Declaration
public static readonly RoutedCommand PageUpCommand
Field Value
Type | Description |
---|---|
RoutedCommand |
ScrollEvent
The scroll event
Declaration
public static readonly RoutedEvent ScrollEvent
Field Value
Type | Description |
---|---|
RoutedEvent |
ScrollHereCommand
The scroll here command
Declaration
public static readonly RoutedCommand ScrollHereCommand
Field Value
Type | Description |
---|---|
RoutedCommand |
ScrollToBottomCommand
The scroll to bottom command
Declaration
public static readonly RoutedCommand ScrollToBottomCommand
Field Value
Type | Description |
---|---|
RoutedCommand |
ScrollToEndCommand
The scroll to end command
Declaration
public static readonly RoutedCommand ScrollToEndCommand
Field Value
Type | Description |
---|---|
RoutedCommand |
ScrollToHomeCommand
The scroll to home command
Declaration
public static readonly RoutedCommand ScrollToHomeCommand
Field Value
Type | Description |
---|---|
RoutedCommand |
ScrollToHorizontalOffsetCommand
The scroll to horizontal offset command
Declaration
public static readonly RoutedCommand ScrollToHorizontalOffsetCommand
Field Value
Type | Description |
---|---|
RoutedCommand |
ScrollToLeftEndCommand
The scroll to left end command
Declaration
public static readonly RoutedCommand ScrollToLeftEndCommand
Field Value
Type | Description |
---|---|
RoutedCommand |
ScrollToRightEndCommand
The scroll to right end command
Declaration
public static readonly RoutedCommand ScrollToRightEndCommand
Field Value
Type | Description |
---|---|
RoutedCommand |
ScrollToTopCommand
The scroll to top command
Declaration
public static readonly RoutedCommand ScrollToTopCommand
Field Value
Type | Description |
---|---|
RoutedCommand |
ScrollToVerticalOffsetCommand
The scroll to vertical offset command
Declaration
public static readonly RoutedCommand ScrollToVerticalOffsetCommand
Field Value
Type | Description |
---|---|
RoutedCommand |
ViewportSizeProperty
The view port size property
Declaration
public static readonly DependencyProperty ViewportSizeProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
Properties
Orientation
Gets or sets the orientation.
Declaration
public Orientation Orientation { get; set; }
Property Value
Type | Description |
---|---|
Orientation | The orientation. |
Track
Gets the track.
Declaration
public Track Track { get; }
Property Value
Type | Description |
---|---|
Track | The track. |
ViewportSize
Gets or sets the size of the view port.
Declaration
public float ViewportSize { get; set; }
Property Value
Type | Description |
---|---|
System.Single | The size of the view port. |
Methods
OnApplyTemplate()
Called when [apply template].
Declaration
public override void OnApplyTemplate()
Overrides
OnPreviewMouseDown(Object, MouseButtonEventArgs)
Called when [preview mouse down].
Declaration
protected override void OnPreviewMouseDown(object sender, MouseButtonEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Object | sender | The sender. |
MouseButtonEventArgs | e | The MouseButtonEventArgs instance containing the event data. |
Overrides
Events
Scroll
Occurs when [scroll].
Declaration
public event ScrollEventHandler Scroll
Event Type
Type | Description |
---|---|
ScrollEventHandler |