Class ScrollBarAutomationPeer
Exposes ScrollBar types to UI automation.
Inheritance
Implements
Inherited Members
Namespace: System.Windows.Automation.Peers
Assembly: OpenSilver.dll
Syntax
public class ScrollBarAutomationPeer : RangeBaseAutomationPeer, IDependencyObject, IRangeValueProvider
Constructors
| Improve this Doc View SourceScrollBarAutomationPeer(ScrollBar)
Initializes a new instance of the ScrollBarAutomationPeer class.
Declaration
public ScrollBarAutomationPeer(ScrollBar owner)
Parameters
| Type | Name | Description |
|---|---|---|
| ScrollBar | owner | The ScrollBar to associate with the ScrollBarAutomationPeer. |
Methods
| Improve this Doc View SourceGetAutomationControlTypeCore()
Gets the control type for the ScrollBar that is associated with this ScrollBarAutomationPeer. This method is called by GetAutomationControlType().
Declaration
protected override AutomationControlType GetAutomationControlTypeCore()
Returns
| Type | Description |
|---|---|
| AutomationControlType | A value of the enumeration. |
Overrides
| Improve this Doc View SourceGetClassNameCore()
Gets the name of the class that is associated with this ScrollBarAutomationPeer. This method is called by GetClassName().
Declaration
protected override string GetClassNameCore()
Returns
| Type | Description |
|---|---|
| System.String | The class name. |
Overrides
| Improve this Doc View SourceGetClickablePointCore()
Gets a clickable point for this control.
Declaration
protected override Point GetClickablePointCore()
Returns
| Type | Description |
|---|---|
| Point | A point that is clickable within the control, or a point with System.Double.NaN coordinates, if no point is clickable within the control. |
Overrides
| Improve this Doc View SourceGetOrientationCore()
Gets the orientation of the ScrollBar control associated with this peer.
Declaration
protected override AutomationOrientation GetOrientationCore()
Returns
| Type | Description |
|---|---|
| AutomationOrientation | The orientation of the scroll bar, as a value of the enumeration. |