[]
Element that looks and behaves like a WinForms ScrollBar.
public class ScrollBarElement : StackPanel, ISupportUia, IUiaRangeValueProvider, ISupportUiaContainer
Public Class ScrollBarElement
Inherits StackPanel
Implements ISupportUia, IUiaRangeValueProvider, ISupportUiaContainer
If no Style is assigned to this element, it will render itself using Windows Visual Styles.
Use the Orientation property to control whether the ScrollBarElement should be rendered as a vertical or horizontal scrollbar.
| Name | Description |
|---|---|
| ScrollBarElement() | Initializes a new instance of a vertical ScrollBarElement without a Style. |
| ScrollBarElement(Style) | Initializes a new instance of a vertical ScrollBarElement. |
| ScrollBarElement(Style, bool) | Initializes a new instance of a ScrollBarElement. |
| ScrollBarElement(bool) | Initializes a new instance of a ScrollBarElement without a Style. |
| Name | Description |
|---|---|
| ButtonSize | Gets or sets the size of the thumb and line up/down buttons in the scroll direction. |
| LargeChange | Gets or sets a value to be added to or subtracted from the Value property when the scroll box is moved a large distance (one 'page'). |
| LineDownButton | Gets the element that represents the 'line down' button. |
| LineUpButton | Gets the element that represents the 'line up' button. |
| Maximum | Gets or sets the upper limit of values of the scrollable range. |
| Minimum | Gets or sets the lower limit of values of the scrollable range. |
| PageDownButton | Gets the element that represents the 'page down' button. |
| PageUpButton | Gets the element that represents the 'page up' button. |
| ProportionalThumb | Gets or sets whether the thumb size should reflect the ratio of the scroll bar size to its range. |
| SmallChange | Gets or sets the value to be added to or subtracted from the Value property when the scroll box is moved a small distance (one 'line'). |
| SmoothScrolling | Gets or sets whether the scrolling should be performed in steps. |
| Thumb | Gets the element that represents the scroll box ('thumb' element). |
| Value | Gets or sets a numeric value that represents the current position of the scroll box on the ScrollBarElement. |
| ZoomFactor | Gets or sets the scale factor (used with Gc/C1Zoom). |
| Name | Description |
|---|---|
| Layout(Graphics) | Layout this element based on its style and contents. |
| OnHotChanged(EventArgs) | |
| OnStateChanged(ElementFlags) | Called by the host control when the state of this Element changes. |
| OnValueChanged(EventArgs) |
| Name | Description |
|---|---|
| HotChanged | |
| ValueChanged | Fires when the Value property has been changed. |