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
    • Functional UI Testing
    • RESTful API Testing
    • Load Testing
    • Remote Test Execution
    • Agile Teams
    • Web Test Automation
    • Desktop Test Automation
    • Responsive UI Testing
    • Continuous Testing
  • Training
    • Docs and Support
    • Documentation
    • Virtual Classroom
    • Videos
    • Blogs
    • Webinars
    • Whitepapers
    • Case Studies
    • Feedback Portal
    • Technical Support
    • What’s New
    • Roadmap
    • Release Notes
    • Trust Center
    • FAQs
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Request a demo Try now

Class VisualTreeHost

Inheritance
System.Object
VisualTreeHost
SilverlightApp
WpfWindow
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: ArtOfTest.WebAii.Xaml
Assembly: ArtOfTest.WebAii.dll

Syntax

public class VisualTreeHost : IAutomationHost, ISupportSearchHost, IAnnotationHost

Properties

Annotator

Declaration
public virtual Annotator Annotator { get; }
Property Value
Annotator

Implements
IAnnotationHost.Annotator

ContentWindow

Declaration
public virtual Window ContentWindow { get; }
Property Value
Window

Implements
IAnnotationHost.ContentWindow

FriendlyName

Declaration
public virtual string FriendlyName { get; }
Property Value
System.String

Implements
IAutomationHost.FriendlyName

Manager

Declaration
public virtual Manager Manager { get; }
Property Value
Manager

Implements
IAnnotationHost.Manager

OwnerApp

Declaration
public IApplication OwnerApp { get; }
Property Value
IApplication

ShouldDisplayAnnotation

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

Implements
IAnnotationHost.ShouldDisplayAnnotation

StateHashCode

Declaration
public virtual string StateHashCode { get; }
Property Value
System.String

Implements
IAutomationHost.StateHashCode

TechnologyType

Declaration
public virtual TechnologyType TechnologyType { get; }
Property Value
TechnologyType

Implements
IAutomationHost.TechnologyType

UniqueId

Declaration
public virtual string UniqueId { get; }
Property Value
System.String

Implements
IAutomationHost.UniqueId

VisualTree

Declaration
public VisualTree VisualTree { get; protected set; }
Property Value
VisualTree

Window

Declaration
public virtual Window Window { get; }
Property Value
Window

Implements
IAnnotationHost.Window

Methods

Capture()

Declaration
public virtual Bitmap Capture()
Returns
System.Drawing.Bitmap

Implements
IAutomationHost.Capture()

EnsureStateIsCurrent()

Declaration
public virtual void EnsureStateIsCurrent()
Implements
IAutomationHost.EnsureStateIsCurrent()

FixAnnotationArea(Rectangle)

Declaration
public virtual Rectangle FixAnnotationArea(Rectangle area)
Parameters
System.Drawing.Rectangle area

Returns
System.Drawing.Rectangle

Implements
IAnnotationHost.FixAnnotationArea(Rectangle)

GetChildHosts()

Declaration
public virtual IAutomationHost[] GetChildHosts()
Returns
IAutomationHost[]

Implements
IAutomationHost.GetChildHosts()

GetHostRoot()

Declaration
public virtual ITargetElement GetHostRoot()
Returns
ITargetElement

Implements
IAutomationHost.GetHostRoot()

GetWindowRectangle()

Declaration
public virtual Rectangle GetWindowRectangle()
Returns
System.Drawing.Rectangle

Implements
IAutomationHost.GetWindowRectangle()

LocateAllInHost(String[])

Declaration
public virtual IList<ITargetElement> LocateAllInHost(string[] expression)
Parameters
System.String[] expression

Returns
System.Collections.Generic.IList<ITargetElement>

Implements
ISupportSearchHost.LocateAllInHost(String[])

LocateInHost(String[])

Declaration
public virtual ITargetElement LocateInHost(string[] expression)
Parameters
System.String[] expression

Returns
ITargetElement

Implements
ISupportSearchHost.LocateInHost(String[])

SetWindowFocus()

Declaration
public virtual bool SetWindowFocus()
Returns
System.Boolean

Implements
IAutomationHost.SetWindowFocus()

UpdateInterHostLinks()

Declaration
public void UpdateInterHostLinks()
Implements
IAutomationHost.UpdateInterHostLinks()

ValidateMouseLocation(Point)

Declaration
public virtual void ValidateMouseLocation(Point point)
Parameters
System.Drawing.Point point

Implements
IAutomationHost.ValidateMouseLocation(Point)
Getting Started
  • Getting Started
  • Videos
  • Whats New
  • Roadmap
Community
  • Forums
  • Blogs
  • 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.