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

Interface IRadRawElementProviderFragment

Represents UI Automation provider associated with an object from the Telerik UI for WinForms family. The interface is currently implemented for RadControls and RadElements.

Namespace: Telerik.WinControls.UIAutomation
Assembly: Telerik.WinControls.UI.dll

Syntax

public interface IRadRawElementProviderFragment : IRawElementProviderFragment, IRawElementProviderSimple

Properties

Owner

The object which is associated with the UI Automation provider.

Declaration
object Owner { get; }
Property Value
System.Object

Methods

Disconnect()

Used to release the UI Automation provider. This method is called when the UI Automation provider is no longer needed.

Declaration
void Disconnect()

FindChildUIAutomationProvider<T>(Object)

Searches the entire subtree of child UI Automation providers to find the UI Automation provider for the given object.

Declaration
T FindChildUIAutomationProvider<T>(object child)
    where T : IRawElementProviderFragment
Parameters
System.Object child

The object whose UI Automation provider we are querying.

Returns
T

Type Parameters
T

GetChildElementProviderFragment(Object, Func<Object, IRadRawElementProviderFragment>)

Gets the UIA provider of the given child object. This method is implemented by a parent UIA provider which returns a child UIA provider for the given child. The child UIA provider is created lazily provided it's not yet created and an initialization functions is passed.

Declaration
IRawElementProviderFragment GetChildElementProviderFragment(object child, Func<object, IRadRawElementProviderFragment> initFunc = null)
Parameters
System.Object child

The object whose UI Automation provider we are querying.

System.Func<System.Object, IRadRawElementProviderFragment> initFunc

Init function used to create the UIA provider for the given child element, assuming no no such provider has already been created..

Returns
System.Windows.Automation.Provider.IRawElementProviderFragment

GetChildElementProviderFragment(Object, Object, Func<Object, Object, IRadRawElementProviderFragment>)

Gets the UIA provider of the given child object. This method is implemented by a parent UIA provider which returns a child UIA provider for the given child. The child UIA provider is created lazily provided it's not yet created and an initialization functions is passed.

Declaration
IRawElementProviderFragment GetChildElementProviderFragment(object child, object context, Func<object, object, IRadRawElementProviderFragment> initFunc = null)
Parameters
System.Object child

The object whose UI Automation provider we are querying.

System.Object context

The context of the UI Automation provider we are querying.

System.Func<System.Object, System.Object, IRadRawElementProviderFragment> initFunc

Init function used to create the UIA provider for the given child element, assuming no no such provider has already been created..

Returns
System.Windows.Automation.Provider.IRawElementProviderFragment

NavigateNextSibling(IRawElementProviderFragment)

Get the previous sibling element of the passed child.

Declaration
IRawElementProviderFragment NavigateNextSibling(IRawElementProviderFragment child)
Parameters
System.Windows.Automation.Provider.IRawElementProviderFragment child

The element that is evaluated to get a previous sibling.

Returns
System.Windows.Automation.Provider.IRawElementProviderFragment

NavigatePreviousSibling(IRawElementProviderFragment)

Get the previous sibling element of the passed child.

Declaration
IRawElementProviderFragment NavigatePreviousSibling(IRawElementProviderFragment child)
Parameters
System.Windows.Automation.Provider.IRawElementProviderFragment child

The element that is evaluated to get a previous sibling.

Returns
System.Windows.Automation.Provider.IRawElementProviderFragment

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.