Exposes a scroll-bar direction button as a UI Automation button with an Invoke pattern.
Definition
Namespace:Telerik.WinControls.UIAutomation.ScrollBar
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class ScrollBarButtonUIAutomationProvider : RadElementBaseUIAutomationProvider<ScrollBarButton>, IRadRawElementProviderFragment, IRawElementProviderFragment, IRawElementProviderSimple
Inheritance: objectRadFragmentUIAutomationProviderRadElementBaseUIAutomationProvider<ScrollBarButton>ScrollBarButtonUIAutomationProvider
Implements:
Inherited Members
Constructors
Creates the provider and subscribes to the button's mouse-down and click events.
public ScrollBarButtonUIAutomationProvider(ScrollBarElementUIAutomationProvider parent, ScrollBarButton scrollBarButton)
The provider for the containing scroll bar.
scrollBarButtonScrollBarButtonThe direction button represented by this provider.
Methods
Unsubscribes from the button events before disconnecting the provider.
public override void Disconnect()
Overrides:
Gets the Invoke pattern provider for the Invoke pattern identifier; other identifiers are handled by the base provider.
Gets UI Automation properties for the direction button, including its direction-derived name and center clickable point.
Throws because a scroll-bar direction button cannot receive keyboard focus.
public override void SetFocus()
The scroll-bar button cannot be focused.
Overrides: