skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class BaseUIAutomationScrollPatternProvider<T>

Provides a base implementation of the IScrollProvider interface for UI Automation scroll pattern support.

Inheritance
System.Object
BaseUIAutomationScrollPatternProvider<T>
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.WinControls.UIAutomation
Assembly: Telerik.WinControls.UI.dll

Syntax

public abstract class BaseUIAutomationScrollPatternProvider<T> : IScrollProvider where T : IRadRawElementProviderFragment
Type Parameters
T

The type of the owner provider that must implement IRadRawElementProviderFragment.

Constructors

BaseUIAutomationScrollPatternProvider(T)

Initializes a new instance of the BaseUIAutomationScrollPatternProvider class with the specified owner provider.

Declaration
protected BaseUIAutomationScrollPatternProvider(T ownerProvider)
Parameters
T ownerProvider

The owner provider that contains the scrollable content.

Properties

HorizontallyScrollable

Gets a value indicating whether the control can scroll horizontally.

Declaration
public virtual bool HorizontallyScrollable { get; }
Property Value
System.Boolean

HorizontalScrollbar

Gets the horizontal scrollbar element for the scrollable content.

Declaration
public abstract RadScrollBarElement HorizontalScrollbar { get; }
Property Value
RadScrollBarElement

HorizontalScrollPercent

Gets the current horizontal scroll position as a percentage of the total content area.

Declaration
public virtual double HorizontalScrollPercent { get; }
Property Value
System.Double

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
System.Double

OwnerProvider

Gets the owner provider that contains the scrollable content.

Declaration
public T OwnerProvider { get; }
Property Value
T

VerticallyScrollable

Gets a value indicating whether the control can scroll vertically.

Declaration
public virtual bool VerticallyScrollable { get; }
Property Value
System.Boolean

VerticalScrollbar

Gets the vertical scrollbar element for the scrollable content.

Declaration
public abstract RadScrollBarElement VerticalScrollbar { get; }
Property Value
RadScrollBarElement

VerticalScrollPercent

Gets the current vertical scroll position as a percentage of the total content area.

Declaration
public virtual double VerticalScrollPercent { get; }
Property Value
System.Double

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
System.Double

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
System.Windows.Automation.ScrollAmount horizontalAmount

The horizontal scroll amount.

System.Windows.Automation.ScrollAmount verticalAmount

The vertical scroll amount.

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
System.Double horizontalPercent

The horizontal scroll position as a percentage from 0 to 100.

System.Double verticalPercent

The vertical scroll position as a percentage from 0 to 100.

Extension Methods

SvgExtentions.Traverse<T>(T, Func<T, IEnumerable<T>>)
SvgExtentions.TraverseDepthFirst<T>(T, Func<T, IEnumerable<T>>)
Getting Started
  • Install Now
  • Demos
  • Step-by-Step Tutorial
  • Sample Applications
  • SDK Samples
  • Visual Studio Extensions
Support Resources
  • Code Library
  • Knowledge Base
  • Videos
Community
  • Forums
  • Blogs
  • Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.