ClassBaseUIAutomationScrollPatternProvider<T>
Provides a base implementation of the IScrollProvider interface for UI Automation scroll pattern support.
Definition
Namespace:Telerik.WinControls.UIAutomation
Assembly:Telerik.WinControls.UI.dll
Type Parameters:
T
The type of the owner provider that must implement IRadRawElementProviderFragment.
Syntax:
public abstract class BaseUIAutomationScrollPatternProvider<T> : IScrollProvider where T : IRadRawElementProviderFragment
Inheritance: objectBaseUIAutomationScrollPatternProvider<T>
Implements:
Constructors
BaseUIAutomationScrollPatternProvider(T)
Initializes a new instance of the BaseUIAutomationScrollPatternProvider class with the specified owner provider.
Declaration
protected BaseUIAutomationScrollPatternProvider(T ownerProvider)
Parameters
ownerProvider
T
The owner provider that contains the scrollable content.
Properties
HorizontalScrollPercent
Gets the current horizontal scroll position as a percentage of the total content area.
Declaration
public virtual double HorizontalScrollPercent { get; }
Property Value
Implements
HorizontalScrollbar
Gets the horizontal scrollbar element for the scrollable content.
Declaration
public abstract RadScrollBarElement HorizontalScrollbar { get; }
Property Value
HorizontalViewSize
Gets the horizontal size of the viewable region as a percentage of the total content area.
Declaration
public virtual double HorizontalViewSize { get; }
Property Value
Implements
HorizontallyScrollable
Gets a value indicating whether the control can scroll horizontally.
Declaration
public virtual bool HorizontallyScrollable { get; }
Property Value
Implements
OwnerProvider
Gets the owner provider that contains the scrollable content.
Declaration
public T OwnerProvider { get; }
Property Value
T
VerticalScrollPercent
Gets the current vertical scroll position as a percentage of the total content area.
Declaration
public virtual double VerticalScrollPercent { get; }
Property Value
Implements
VerticalScrollbar
Gets the vertical scrollbar element for the scrollable content.
Declaration
public abstract RadScrollBarElement VerticalScrollbar { get; }
Property Value
VerticalViewSize
Gets the vertical size of the viewable region as a percentage of the total content area.
Declaration
public virtual double VerticalViewSize { get; }
Property Value
Implements
VerticallyScrollable
Gets a value indicating whether the control can scroll vertically.
Declaration
public virtual bool VerticallyScrollable { get; }
Property Value
Implements
Methods
Disconnect()
Disconnects event handlers and releases resources associated with the scroll pattern provider.
Declaration
public virtual void Disconnect()
Scroll(ScrollAmount, ScrollAmount)
Scrolls the visible region of the content area horizontally and vertically by the specified scroll amounts.
Declaration
public virtual void Scroll(ScrollAmount horizontalAmount, ScrollAmount verticalAmount)
Parameters
horizontalAmount
The horizontal scroll amount.
verticalAmount
The vertical scroll amount.
Implements
SetScrollPercent(double, double)
Sets the horizontal and vertical scroll position as a percentage of the total content area.
Declaration
public virtual void SetScrollPercent(double horizontalPercent, double verticalPercent)
Parameters
horizontalPercent
The horizontal scroll position as a percentage from 0 to 100.
verticalPercent
The vertical scroll position as a percentage from 0 to 100.
Implements